Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009426/0.0009426, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.0009959/0.0009959, allocations: 177 kB / 23.03 MB, free: 1.535 MB / 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.9771/0.9771, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.02/2.02, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8782 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.016e-05, allocations: 5.547 kB / 0.8782 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004742/0.004772, allocations: 3.112 MB / 0.8812 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.007017, allocations: 1.113 MB / 0.8823 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.007317, allocations: 27.69 kB / 0.8823 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.007945, allocations: 132.2 kB / 0.8825 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.008569, allocations: 249.3 kB / 0.8827 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.009081, allocations: 215 kB / 0.8829 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0009446/0.01003, allocations: 0.6205 MB / 0.8835 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.01053, allocations: 242.5 kB / 0.8837 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.01122, allocations: 347.7 kB / 0.8841 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.01168, allocations: 221.5 kB / 0.8843 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.01173, allocations: 24 kB / 0.8843 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.01198, allocations: 87.86 kB / 0.8844 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.01212, allocations: 127.6 kB / 0.8845 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.01229, allocations: 147.6 kB / 0.8846 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.01287, allocations: 366.6 kB / 0.885 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.01287, allocations: 0 / 0.885 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.114e-06/0.01288, allocations: 0 / 0.885 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.01289, allocations: 0 / 0.885 GB, free: 14.19 MB / 0.8073 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.001091/0.01398, allocations: 0.737 MB / 0.8857 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.01403, allocations: 12.03 kB / 0.8857 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007236/0.01475, allocations: 172.3 kB / 0.8859 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.0153, allocations: 358.8 kB / 0.8862 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.01533, allocations: 28.95 kB / 0.8863 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.01538, allocations: 28.38 kB / 0.8863 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.01605, allocations: 0.552 MB / 0.8868 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.01607, allocations: 4 kB / 0.8868 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.0161, allocations: 16 kB / 0.8868 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/0.01617, allocations: 40.62 kB / 0.8869 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.01653, allocations: 195.5 kB / 0.8871 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.01913, allocations: 3.543 MB / 0.8905 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.01959, allocations: 195 kB / 0.8907 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.01973, allocations: 71.66 kB / 0.8908 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.01975, allocations: 8 kB / 0.8908 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.01978, allocations: 41.33 kB / 0.8908 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 2.756e-06/0.01978, allocations: 4 kB / 0.8908 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.00127/0.02105, allocations: 498.5 kB / 0.8913 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.02108, allocations: 59.58 kB / 0.8914 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.02138, allocations: 382.5 kB / 0.8917 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.0214, allocations: 29.7 kB / 0.8918 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.02156, allocations: 298.8 kB / 0.8921 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.02164, allocations: 99.17 kB / 0.8921 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.02175, allocations: 83.8 kB / 0.8922 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.0219, allocations: 0.5157 MB / 0.8927 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.02202, allocations: 60.95 kB / 0.8928 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.02225, allocations: 270.6 kB / 0.893 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.02265, allocations: 367.9 kB / 0.8934 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.02266, allocations: 4 kB / 0.8934 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006563/0.02331, allocations: 416.1 kB / 0.8938 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.02334, allocations: 8 kB / 0.8938 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.02335, allocations: 4 kB / 0.8938 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.02359, allocations: 70.95 kB / 0.8939 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.02387, allocations: 92.34 kB / 0.894 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.02388, allocations: 11.94 kB / 0.894 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.02407, allocations: 27.97 kB / 0.894 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.0241, allocations: 16 kB / 0.894 GB, free: 4.32 MB / 0.8073 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.0001449/0.02425, allocations: 184.4 kB / 0.8942 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.02432, allocations: 47.77 kB / 0.8942 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.02482, allocations: 280.6 kB / 0.8945 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.02483, allocations: 4 kB / 0.8945 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.02484, allocations: 0 / 0.8945 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.02484, allocations: 4 kB / 0.8945 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.02578, allocations: 0.6906 MB / 0.8952 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02578, allocations: 0 / 0.8952 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.02596, allocations: 43.97 kB / 0.8952 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.02613, allocations: 70.94 kB / 0.8953 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.02615, allocations: 4 kB / 0.8953 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.02615, allocations: 0 / 0.8953 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.02616, allocations: 8.031 kB / 0.8953 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.02669, allocations: 445.5 kB / 0.8957 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.02681, allocations: 63.73 kB / 0.8958 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.02685, allocations: 8 kB / 0.8958 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02701, allocations: 15.97 kB / 0.8958 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.02709, allocations: 23.95 kB / 0.8958 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.02711, allocations: 11.98 kB / 0.8959 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001854/0.0273, allocations: 243.1 kB / 0.8961 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.0273, allocations: 0 / 0.8961 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004564/0.02775, allocations: 88 kB / 0.8962 GB, free: 1.961 MB / 0.8073 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.0001472/0.0279, allocations: 119 kB / 0.8963 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.02843, allocations: 254.8 kB / 0.8965 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02844, allocations: 4 kB / 0.8965 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.02863, allocations: 132.4 kB / 0.8967 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.02941, allocations: 128 kB / 0.8968 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.03078, allocations: 0.67 MB / 0.8974 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.644e-05/0.03087, allocations: 113.6 kB / 0.8975 GB, free: 464 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.03109, allocations: 75.27 kB / 0.8976 GB, free: 388 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.03117, allocations: 32.44 kB / 0.8976 GB, free: 352 kB / 0.8073 GB Notification: Performance of SimCode: time 1.543e-06/0.03117, allocations: 0 / 0.8976 GB, free: 352 kB / 0.8073 GB Notification: Performance of Templates: time 0.009585/0.04075, allocations: 5.079 MB / 0.9026 GB, free: 11.4 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.1713628876022995]