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.001715/0.001715, allocations: 111.8 kB / 18.14 MB, free: 3.781 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.002144/0.002144, allocations: 202 kB / 21.43 MB, free: 0.5 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.408/1.408, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.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.834/2.834, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 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.002807/0.002807, allocations: 75.81 kB / 1.108 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9246, allocations: 168.7 MB / 1.273 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006585/0.9312, allocations: 3.387 MB / 1.276 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.9358, allocations: 2.073 MB / 1.278 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.936, allocations: 7.938 kB / 1.278 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.9372, allocations: 302.8 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006624/0.9378, allocations: 242.9 kB / 1.279 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.9387, allocations: 297.7 kB / 1.279 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.9393, allocations: 406.8 kB / 1.279 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.9397, allocations: 145.7 kB / 1.279 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.94, allocations: 163.4 kB / 1.28 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.9405, allocations: 215.2 kB / 1.28 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.9405, allocations: 24 kB / 1.28 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.941, allocations: 275.5 kB / 1.28 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.9412, allocations: 115.7 kB / 1.28 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.9413, allocations: 155.2 kB / 1.28 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.942, allocations: 494.2 kB / 1.281 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.942, allocations: 3.938 kB / 1.281 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.942, allocations: 4 kB / 1.281 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.942, allocations: 0 / 1.281 GB, free: 12.01 MB / 0.9825 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.001221/0.9432, allocations: 0.5999 MB / 1.281 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.9433, allocations: 8.031 kB / 1.281 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/0.9433, allocations: 66.73 kB / 1.282 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.9443, allocations: 120.5 kB / 1.282 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.9448, allocations: 280.6 kB / 1.282 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.9448, allocations: 20.92 kB / 1.282 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.9449, allocations: 44.44 kB / 1.282 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.9457, allocations: 453.1 kB / 1.282 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.9457, allocations: 3.938 kB / 1.282 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.9457, allocations: 12 kB / 1.282 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.9459, allocations: 40.53 kB / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.9466, allocations: 365.9 kB / 1.283 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.9494, allocations: 2.211 MB / 1.285 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.9499, allocations: 246.4 kB / 1.285 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.9501, allocations: 144.8 kB / 1.285 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.9501, allocations: 4 kB / 1.285 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.9502, allocations: 42.56 kB / 1.285 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.9502, allocations: 0 / 1.285 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.001893/0.952, allocations: 1.053 MB / 1.286 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.9521, allocations: 63.33 kB / 1.286 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.9524, allocations: 261 kB / 1.287 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.9525, allocations: 33.64 kB / 1.287 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.9526, allocations: 196.3 kB / 1.287 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.9527, allocations: 87.22 kB / 1.287 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.9528, allocations: 81.58 kB / 1.287 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.953, allocations: 334.8 kB / 1.287 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.9533, allocations: 155.9 kB / 1.288 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.9537, allocations: 249.5 kB / 1.288 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/0.9543, allocations: 410.8 kB / 1.288 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9543, allocations: 3.938 kB / 1.288 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001196/0.9555, allocations: 0.5979 MB / 1.289 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.9555, allocations: 5.562 kB / 1.289 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9555, allocations: 4 kB / 1.289 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/0.9562, allocations: 188.9 kB / 1.289 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.9565, allocations: 59.89 kB / 1.289 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.9596, allocations: 2.492 MB / 1.291 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.9599, allocations: 28.08 kB / 1.291 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.96, allocations: 11.94 kB / 1.292 GB, free: 440 kB / 0.9825 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.0001916/0.9602, allocations: 173.8 kB / 1.292 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.9602, allocations: 23.86 kB / 1.292 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.9608, allocations: 357.3 kB / 1.292 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9608, allocations: 7.984 kB / 1.292 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.9608, allocations: 0 / 1.292 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9608, allocations: 0 / 1.292 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.962, allocations: 0.8123 MB / 1.293 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.962, allocations: 0 / 1.293 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.9623, allocations: 71.88 kB / 1.293 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.9624, allocations: 4 kB / 1.293 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.9624, allocations: 12 kB / 1.293 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.9624, allocations: 3.984 kB / 1.293 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9624, allocations: 0 / 1.293 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.9632, allocations: 0.6203 MB / 1.294 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.9633, allocations: 125 kB / 1.294 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.9634, allocations: 7.984 kB / 1.294 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.9636, allocations: 15.98 kB / 1.294 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.9637, allocations: 19.92 kB / 1.294 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.9637, allocations: 4 kB / 1.294 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000238/0.9639, allocations: 188.5 kB / 1.294 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9639, allocations: 4 kB / 1.294 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003969/0.9643, allocations: 91.94 kB / 1.294 GB, free: 13.79 MB / 0.9981 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.001204/0.9655, allocations: 1.159 MB / 1.295 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009741/0.9665, allocations: 0.5138 MB / 1.296 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9665, allocations: 0.625 kB / 1.296 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.9667, allocations: 139.9 kB / 1.296 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.9672, allocations: 57.62 kB / 1.296 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/0.9727, allocations: 3.709 MB / 1.299 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.9732, allocations: 0.7951 MB / 1.3 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.9734, allocations: 74.91 kB / 1.3 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.9735, allocations: 83.41 kB / 1.3 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.9735, allocations: 4 kB / 1.3 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/1.009, allocations: 6.994 MB / 1.307 GB, free: 184 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.54, allocations: 10.41 kB / 1.307 GB, free: 180 kB / 0.9981 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.640941923018545]