Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9624/0.9624, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.735/1.735, allocations: 359 MB / 0.6055 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.145e-05, allocations: 2.938 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006144/0.006176, allocations: 3.78 MB / 0.7908 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.009902, allocations: 1.836 MB / 0.7926 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005278/0.01043, allocations: 19.81 kB / 0.7926 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.01171, allocations: 275.4 kB / 0.7929 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008841/0.0126, allocations: 325.4 kB / 0.7932 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.01328, allocations: 245.7 kB / 0.7934 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.01412, allocations: 0.6283 MB / 0.794 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000496/0.01462, allocations: 230.6 kB / 0.7942 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.0152, allocations: 340.6 kB / 0.7946 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.01558, allocations: 196.8 kB / 0.7947 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.01563, allocations: 28 kB / 0.7948 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.01615, allocations: 255.2 kB / 0.795 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.01631, allocations: 133 kB / 0.7951 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.01649, allocations: 143.6 kB / 0.7953 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.01713, allocations: 458.4 kB / 0.7957 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.01713, allocations: 0 / 0.7957 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.617e-06/0.01714, allocations: 8.516 kB / 0.7957 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.01714, allocations: 1.562 kB / 0.7957 GB, free: 3.91 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008149/0.01796, allocations: 0.7573 MB / 0.7965 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.018, allocations: 8.562 kB / 0.7965 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.01862, allocations: 192.8 kB / 0.7967 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.01904, allocations: 365.1 kB / 0.797 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.01906, allocations: 21.84 kB / 0.797 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.01911, allocations: 36.27 kB / 0.7971 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.01961, allocations: 0.551 MB / 0.7976 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.01963, allocations: 4 kB / 0.7976 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.01966, allocations: 12 kB / 0.7976 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.01971, allocations: 41.97 kB / 0.7977 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.01997, allocations: 202.8 kB / 0.7979 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.02175, allocations: 3.55 MB / 0.8013 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.02212, allocations: 198.5 kB / 0.8015 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/0.02222, allocations: 79.53 kB / 0.8016 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.02224, allocations: 4.781 kB / 0.8016 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.02226, allocations: 41.33 kB / 0.8016 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.02226, allocations: 0.5 kB / 0.8016 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.000922/0.02319, allocations: 0.5054 MB / 0.8021 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.02322, allocations: 55.58 kB / 0.8022 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.02343, allocations: 375.2 kB / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.02345, allocations: 29.7 kB / 0.8026 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.02357, allocations: 296.8 kB / 0.8028 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.02362, allocations: 99.2 kB / 0.8029 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.0237, allocations: 87.75 kB / 0.803 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.02383, allocations: 0.5118 MB / 0.8035 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.02392, allocations: 60.97 kB / 0.8036 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.02409, allocations: 269.9 kB / 0.8038 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.02438, allocations: 374.2 kB / 0.8042 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02438, allocations: 4 kB / 0.8042 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004461/0.02483, allocations: 408.5 kB / 0.8046 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.02485, allocations: 8 kB / 0.8046 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.02485, allocations: 8.562 kB / 0.8046 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.02504, allocations: 75 kB / 0.8047 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.02522, allocations: 87.83 kB / 0.8048 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.02523, allocations: 4 kB / 0.8048 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.02534, allocations: 31.91 kB / 0.8048 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.02536, allocations: 16 kB / 0.8048 GB, free: 10.02 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.02547, allocations: 184.4 kB / 0.805 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.02553, allocations: 51.72 kB / 0.805 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.02591, allocations: 288.8 kB / 0.8053 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02591, allocations: 0 / 0.8053 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02591, allocations: 4 kB / 0.8053 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.02592, allocations: 0 / 0.8053 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.02659, allocations: 0.6788 MB / 0.806 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.02659, allocations: 4 kB / 0.806 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.02671, allocations: 39.97 kB / 0.806 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.02683, allocations: 79.03 kB / 0.8061 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.02684, allocations: 3.984 kB / 0.8061 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.02685, allocations: 4 kB / 0.8061 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.02685, allocations: 3.938 kB / 0.8061 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.02722, allocations: 447.6 kB / 0.8065 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.02729, allocations: 67.62 kB / 0.8066 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.02732, allocations: 4 kB / 0.8066 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.02742, allocations: 19.97 kB / 0.8066 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.02748, allocations: 23.95 kB / 0.8066 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.02749, allocations: 8 kB / 0.8066 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001277/0.02762, allocations: 247.1 kB / 0.8069 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02762, allocations: 0 / 0.8069 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002769/0.02789, allocations: 92 kB / 0.807 GB, free: 7.648 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000106/0.028, allocations: 107.1 kB / 0.8071 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.02838, allocations: 257.9 kB / 0.8073 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02838, allocations: 0 / 0.8073 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.02852, allocations: 132.2 kB / 0.8074 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.02895, allocations: 130.4 kB / 0.8076 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/0.02993, allocations: 0.6624 MB / 0.8082 GB, free: 6.297 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.143e-05/0.03, allocations: 125.6 kB / 0.8083 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.03014, allocations: 63.23 kB / 0.8084 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.0302, allocations: 32.5 kB / 0.8084 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of SimCode: time 8.92e-07/0.0302, allocations: 0 / 0.8084 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of Templates: time 0.007038/0.03724, allocations: 4.808 MB / 0.8131 GB, free: 1.402 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1289824929554015]