Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0007913/0.0007913, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.000792/0.000792, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8258/0.8258, allocations: 177.1 MB / 202.8 MB, free: 5.762 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 1.687/1.687, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.083e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003918/0.003949, allocations: 3.209 MB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.006578, allocations: 1.975 MB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.006784, allocations: 11.88 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.007486, allocations: 293.6 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.007991, allocations: 242.6 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.00863, allocations: 295 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.009097, allocations: 422.6 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.009403, allocations: 164.3 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.009717, allocations: 231.4 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.01002, allocations: 179.5 kB / 1.006 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.09e-05/0.01012, allocations: 24 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.01065, allocations: 251.3 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.01081, allocations: 127.7 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.0109, allocations: 99.75 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.01133, allocations: 0.5102 MB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01134, allocations: 0 / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01134, allocations: 3.938 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.01134, allocations: 0 / 1.007 GB, free: 5.473 MB / 0.9636 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.0007057/0.01205, allocations: 0.5284 MB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.01209, allocations: 8.75 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.01214, allocations: 66.66 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004995/0.01264, allocations: 120.6 kB / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.01289, allocations: 226 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.01291, allocations: 20.86 kB / 1.008 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.013, allocations: 28.75 kB / 1.008 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.01346, allocations: 0.5186 MB / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01347, allocations: 15.92 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.0135, allocations: 11.98 kB / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.01357, allocations: 40.47 kB / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.01394, allocations: 361.7 kB / 1.009 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.01529, allocations: 1.629 MB / 1.011 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.01555, allocations: 246.4 kB / 1.011 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.01568, allocations: 144.8 kB / 1.011 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.01569, allocations: 4 kB / 1.011 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.01571, allocations: 38.5 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.01571, allocations: 0 / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.001082/0.01679, allocations: 0.9114 MB / 1.012 GB, free: 340 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.01682, allocations: 55.41 kB / 1.012 GB, free: 272 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01701, allocations: 261.6 kB / 1.013 GB, free: 0 / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.01703, allocations: 37.69 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.0171, allocations: 196.3 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.01714, allocations: 91.22 kB / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.01722, allocations: 77.64 kB / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.01729, allocations: 334.8 kB / 1.013 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.01746, allocations: 155.9 kB / 1.013 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.01765, allocations: 245.6 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.01801, allocations: 407.9 kB / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01801, allocations: 0 / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000689/0.0187, allocations: 0.6011 MB / 1.015 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01871, allocations: 4 kB / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01872, allocations: 4 kB / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.01908, allocations: 181 kB / 1.015 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.01924, allocations: 71.89 kB / 1.015 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.02098, allocations: 2.37 MB / 1.017 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.02114, allocations: 28 kB / 1.017 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.02116, allocations: 16.05 kB / 1.017 GB, free: 11 MB / 0.9792 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.0001099/0.02127, allocations: 169.7 kB / 1.017 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.0213, allocations: 27.8 kB / 1.017 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.02164, allocations: 357.8 kB / 1.018 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.02164, allocations: 4 kB / 1.018 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.02164, allocations: 4.062 kB / 1.018 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.02164, allocations: 0 / 1.018 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.02228, allocations: 0.7489 MB / 1.018 GB, free: 9.629 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02229, allocations: 0 / 1.018 GB, free: 9.629 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.02248, allocations: 71.89 kB / 1.019 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.02249, allocations: 7.984 kB / 1.019 GB, free: 9.551 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.0225, allocations: 12 kB / 1.019 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.0225, allocations: 0 / 1.019 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0225, allocations: 0 / 1.019 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.02297, allocations: 0.6104 MB / 1.019 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.02304, allocations: 59.92 kB / 1.019 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.02306, allocations: 11.94 kB / 1.019 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.02317, allocations: 11.98 kB / 1.019 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.0232, allocations: 15.97 kB / 1.019 GB, free: 8.809 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.0232, allocations: 4 kB / 1.019 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001261/0.02333, allocations: 189.2 kB / 1.019 GB, free: 8.621 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02333, allocations: 0 / 1.019 GB, free: 8.621 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000255/0.02359, allocations: 95.94 kB / 1.02 GB, free: 8.527 MB / 0.9792 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.0006666/0.02425, allocations: 1.161 MB / 1.021 GB, free: 7.34 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.02482, allocations: 0.5066 MB / 1.021 GB, free: 6.82 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02482, allocations: 128 / 1.021 GB, free: 6.82 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.02494, allocations: 147.7 kB / 1.021 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.02523, allocations: 53.28 kB / 1.021 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.02826, allocations: 3.614 MB / 1.025 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.02837, allocations: 186.1 kB / 1.025 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.0285, allocations: 78.92 kB / 1.025 GB, free: 2.566 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.0286, allocations: 88.47 kB / 1.025 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of SimCode: time 4.2e-07/0.0286, allocations: 0 / 1.025 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.04868, allocations: 7.787 MB / 1.033 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/6.992, allocations: 9.844 kB / 1.033 GB, free: 10.88 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.834015805274248]