Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00143/0.00143, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001652/0.001652, allocations: 165.7 kB / 23.54 MB, free: 0.8945 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 1.432/1.432, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.802/2.802, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.729e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.009651/0.009688, allocations: 3.597 MB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005854/0.01554, allocations: 1.743 MB / 0.816 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.01583, allocations: 20.34 kB / 0.816 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.01728, allocations: 271.9 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.01853, allocations: 322 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.01953, allocations: 249.2 kB / 0.8168 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.02085, allocations: 0.6322 MB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000666/0.02152, allocations: 230.6 kB / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009216/0.02244, allocations: 336.3 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005831/0.02302, allocations: 205.2 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.02311, allocations: 28 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.02389, allocations: 247.3 kB / 0.8185 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.02415, allocations: 127.6 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.02445, allocations: 146.1 kB / 0.8187 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.02586, allocations: 0.6073 MB / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.02586, allocations: 0 / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.213e-06/0.02586, allocations: 0 / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.02587, allocations: 0 / 0.8193 GB, free: 9.383 MB / 0.7761 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.002027/0.0279, allocations: 0.6672 MB / 0.82 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.02795, allocations: 8.031 kB / 0.82 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.02981, allocations: 192.3 kB / 0.8202 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.03091, allocations: 366.7 kB / 0.8205 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.03096, allocations: 28.95 kB / 0.8205 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.03108, allocations: 33.17 kB / 0.8206 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.03279, allocations: 0.6289 MB / 0.8212 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.03282, allocations: 7.125 kB / 0.8212 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.03289, allocations: 15.98 kB / 0.8212 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.03302, allocations: 40.62 kB / 0.8212 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.03444, allocations: 402.1 kB / 0.8216 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005431/0.03987, allocations: 2.691 MB / 0.8243 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.04113, allocations: 308.4 kB / 0.8245 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.04172, allocations: 164.8 kB / 0.8247 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.04176, allocations: 5.125 kB / 0.8247 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.0418, allocations: 34.5 kB / 0.8247 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.04181, allocations: 0 / 0.8247 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.003684/0.04549, allocations: 0.8394 MB / 0.8256 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.04555, allocations: 56.92 kB / 0.8256 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.04619, allocations: 337.5 kB / 0.8259 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.04625, allocations: 29.7 kB / 0.826 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.04657, allocations: 256.8 kB / 0.8262 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.04673, allocations: 99.11 kB / 0.8263 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.04695, allocations: 78.81 kB / 0.8264 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002896/0.04724, allocations: 342.8 kB / 0.8267 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.04778, allocations: 145.6 kB / 0.8268 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.04855, allocations: 293 kB / 0.8271 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.04996, allocations: 485.1 kB / 0.8276 GB, free: 496 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.04996, allocations: 0 / 0.8276 GB, free: 496 kB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002071/0.05203, allocations: 0.5793 MB / 0.8282 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.05207, allocations: 11.98 kB / 0.8282 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.05208, allocations: 4 kB / 0.8282 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.05268, allocations: 87.08 kB / 0.8283 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/0.05338, allocations: 91.81 kB / 0.8283 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.871e-05/0.05341, allocations: 11.94 kB / 0.8284 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.05392, allocations: 35.97 kB / 0.8284 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.05398, allocations: 16 kB / 0.8284 GB, free: 15.62 MB / 0.7917 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.0003736/0.05435, allocations: 173.7 kB / 0.8286 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.05451, allocations: 51.7 kB / 0.8286 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.05622, allocations: 465.1 kB / 0.8291 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.05624, allocations: 4 kB / 0.8291 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.05624, allocations: 0 / 0.8291 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.05625, allocations: 4 kB / 0.8291 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.05899, allocations: 0.8462 MB / 0.8299 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.059, allocations: 4 kB / 0.8299 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.05946, allocations: 47.95 kB / 0.8299 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/0.05995, allocations: 86.55 kB / 0.83 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.05999, allocations: 8 kB / 0.83 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.06, allocations: 3.984 kB / 0.83 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.06001, allocations: 7.938 kB / 0.83 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.06175, allocations: 0.5472 MB / 0.8306 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.06201, allocations: 59.72 kB / 0.8306 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.0621, allocations: 11.98 kB / 0.8306 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.06251, allocations: 19.98 kB / 0.8307 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.06264, allocations: 23.95 kB / 0.8307 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.06268, allocations: 8 kB / 0.8307 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004564/0.06313, allocations: 223.2 kB / 0.8309 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.01e-07/0.06313, allocations: 0 / 0.8309 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008442/0.06398, allocations: 88 kB / 0.831 GB, free: 12.85 MB / 0.7917 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.0002721/0.06425, allocations: 115.1 kB / 0.8311 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.06589, allocations: 391.8 kB / 0.8315 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.06589, allocations: 0 / 0.8315 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.06664, allocations: 195.5 kB / 0.8317 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.06785, allocations: 136.2 kB / 0.8318 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.06917, allocations: 0.7226 MB / 0.8325 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.06944, allocations: 224.1 kB / 0.8327 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.06967, allocations: 75.3 kB / 0.8328 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.06977, allocations: 28.5 kB / 0.8328 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of SimCode: time 7.02e-07/0.06977, allocations: 4 kB / 0.8328 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of Templates: time 0.01081/0.08058, allocations: 4.795 MB / 0.8375 GB, free: 6.27 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.890860086074099]