Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 104.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 476.7 MB / 0.7611 GB, free: 15.83 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.88 kB / 1.104 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.947/0.9489, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004672/0.9536, allocations: 3.307 MB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.9566, allocations: 2.038 MB / 1.274 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.9567, allocations: 4.344 kB / 1.274 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.9575, allocations: 291.2 kB / 1.274 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.958, allocations: 242.7 kB / 1.274 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.9587, allocations: 289.9 kB / 1.275 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.9591, allocations: 414.2 kB / 1.275 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.9594, allocations: 162.6 kB / 1.275 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.9597, allocations: 164.2 kB / 1.275 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.96, allocations: 213.2 kB / 1.276 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.96, allocations: 23.38 kB / 1.276 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.9604, allocations: 275.2 kB / 1.276 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.9606, allocations: 121.3 kB / 1.276 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.9607, allocations: 147.8 kB / 1.276 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.9613, allocations: 0.4889 MB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9613, allocations: 0 / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9613, allocations: 0.8125 kB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.9613, allocations: 4 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009779/0.9622, allocations: 0.6031 MB / 1.277 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.9623, allocations: 9.062 kB / 1.277 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.9623, allocations: 68.22 kB / 1.277 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009416/0.9633, allocations: 125.2 kB / 1.277 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.9637, allocations: 278 kB / 1.278 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.9637, allocations: 18.33 kB / 1.278 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.9638, allocations: 38.92 kB / 1.278 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.9645, allocations: 458.3 kB / 1.278 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.9645, allocations: 0.8438 kB / 1.278 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.9646, allocations: 11.62 kB / 1.278 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.9647, allocations: 39.75 kB / 1.278 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.9654, allocations: 365.4 kB / 1.279 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.9678, allocations: 2.22 MB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.9682, allocations: 248 kB / 1.281 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.9684, allocations: 144.8 kB / 1.281 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.9684, allocations: 2 kB / 1.281 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.9685, allocations: 34.41 kB / 1.281 GB, free: 15.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.9685, allocations: 0 / 1.281 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.001941/0.9704, allocations: 1.062 MB / 1.282 GB, free: 15.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.9705, allocations: 54.19 kB / 1.282 GB, free: 14.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.9708, allocations: 254.1 kB / 1.283 GB, free: 14.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.9708, allocations: 35.86 kB / 1.283 GB, free: 14.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.971, allocations: 197.9 kB / 1.283 GB, free: 14.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/0.9711, allocations: 87.48 kB / 1.283 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.9712, allocations: 78.11 kB / 1.283 GB, free: 14.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.9714, allocations: 335.4 kB / 1.283 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.9717, allocations: 156.4 kB / 1.283 GB, free: 14.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.972, allocations: 251.9 kB / 1.284 GB, free: 13.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.9727, allocations: 411.5 kB / 1.284 GB, free: 13.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9727, allocations: 3.938 kB / 1.284 GB, free: 13.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00131/0.974, allocations: 0.6023 MB / 1.285 GB, free: 13.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.974, allocations: 6.359 kB / 1.285 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.974, allocations: 5.656 kB / 1.285 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007034/0.9747, allocations: 184.9 kB / 1.285 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.975, allocations: 67.62 kB / 1.285 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.9783, allocations: 2.505 MB / 1.287 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.9787, allocations: 23.02 kB / 1.287 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.9787, allocations: 16.94 kB / 1.287 GB, free: 11.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.9789, allocations: 164.8 kB / 1.287 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.979, allocations: 21.86 kB / 1.288 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.9796, allocations: 358.5 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.9796, allocations: 9.016 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.9796, allocations: 3.938 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9796, allocations: 1.219 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.9807, allocations: 0.8074 MB / 1.289 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9807, allocations: 2.438 kB / 1.289 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.9811, allocations: 77.06 kB / 1.289 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.9811, allocations: 5.562 kB / 1.289 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.9811, allocations: 2.969 kB / 1.289 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9812, allocations: 7.078 kB / 1.289 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.9812, allocations: 0 / 1.289 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.9819, allocations: 0.6195 MB / 1.289 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.9821, allocations: 129 kB / 1.289 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.9822, allocations: 11.14 kB / 1.289 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.9824, allocations: 16.5 kB / 1.289 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.9825, allocations: 19.19 kB / 1.29 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.9825, allocations: 9.672 kB / 1.29 GB, free: 10.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002367/0.9827, allocations: 188.3 kB / 1.29 GB, free: 10.15 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9827, allocations: 0 / 1.29 GB, free: 10.15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004119/0.9831, allocations: 86.72 kB / 1.29 GB, free: 10.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.9843, allocations: 1.157 MB / 1.291 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009478/0.9852, allocations: 0.5142 MB / 1.291 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9852, allocations: 0 / 1.291 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.9854, allocations: 142.9 kB / 1.292 GB, free: 8.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.9859, allocations: 56.94 kB / 1.292 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.9914, allocations: 3.688 MB / 1.295 GB, free: 6.621 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.9919, allocations: 0.7933 MB / 1.296 GB, free: 5.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.9922, allocations: 88.94 kB / 1.296 GB, free: 5.883 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.9923, allocations: 82.78 kB / 1.296 GB, free: 5.828 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.9923, allocations: 0 / 1.296 GB, free: 5.828 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/1.028, allocations: 6.986 MB / 1.303 GB, free: 5.086 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.58, allocations: 6.516 kB / 1.303 GB, free: 5.086 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 17.806299053132534]