Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.0009382/0.0009382, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009932/0.0009932, allocations: 177 kB / 23.36 MB, free: 1.133 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.9626/0.9626, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.494/2.494, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.065e-05, allocations: 6.25 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004273/0.004294, allocations: 2.958 MB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.006129, allocations: 1.145 MB / 0.8426 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.006263, allocations: 11.94 kB / 0.8426 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.006769, allocations: 119.2 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.007133, allocations: 198.8 kB / 0.8429 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.007462, allocations: 159.6 kB / 0.843 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.007952, allocations: 494 kB / 0.8435 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.008238, allocations: 308 kB / 0.8438 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.008436, allocations: 271.4 kB / 0.844 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.00869, allocations: 187.5 kB / 0.8442 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.008722, allocations: 28 kB / 0.8443 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.008846, allocations: 95.78 kB / 0.8443 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.008937, allocations: 143.6 kB / 0.8445 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/0.009023, allocations: 123.7 kB / 0.8446 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.009309, allocations: 326.8 kB / 0.8449 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.009311, allocations: 0 / 0.8449 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.132e-06/0.009312, allocations: 4 kB / 0.8449 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.009316, allocations: 0 / 0.8449 GB, free: 7.723 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0005264/0.009842, allocations: 0.5112 MB / 0.8454 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.009872, allocations: 8.625 kB / 0.8454 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.01039, allocations: 180.6 kB / 0.8456 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.01061, allocations: 221.2 kB / 0.8458 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.01063, allocations: 21.03 kB / 0.8458 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.01066, allocations: 32.36 kB / 0.8459 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.01098, allocations: 427.3 kB / 0.8463 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01099, allocations: 4.188 kB / 0.8463 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.01101, allocations: 12.38 kB / 0.8463 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.01105, allocations: 36.58 kB / 0.8463 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01117, allocations: 96.41 kB / 0.8464 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009346/0.0121, allocations: 1.329 MB / 0.8477 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.01225, allocations: 89.36 kB / 0.8478 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.01234, allocations: 52.83 kB / 0.8478 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.01235, allocations: 4 kB / 0.8478 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.01237, allocations: 38.55 kB / 0.8479 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.01237, allocations: 0 / 0.8479 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0002575/0.01263, allocations: 134.6 kB / 0.848 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.01265, allocations: 51.41 kB / 0.8481 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.01277, allocations: 211.3 kB / 0.8483 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.01279, allocations: 33.7 kB / 0.8483 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.01287, allocations: 208 kB / 0.8485 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.0129, allocations: 47.64 kB / 0.8485 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.01295, allocations: 53.86 kB / 0.8486 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.01304, allocations: 330.8 kB / 0.8489 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.01307, allocations: 28.39 kB / 0.8489 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.01315, allocations: 111.6 kB / 0.849 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01327, allocations: 152.5 kB / 0.8492 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01327, allocations: 0 / 0.8492 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001682/0.01344, allocations: 166 kB / 0.8493 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01345, allocations: 8.375 kB / 0.8493 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.01346, allocations: 12 kB / 0.8494 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.01361, allocations: 32.77 kB / 0.8494 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.0137, allocations: 47.92 kB / 0.8494 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007063/0.01441, allocations: 1.183 MB / 0.8506 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.01448, allocations: 27.78 kB / 0.8506 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.01449, allocations: 19.92 kB / 0.8506 GB, free: 1.426 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.01457, allocations: 124.6 kB / 0.8508 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01459, allocations: 19.98 kB / 0.8508 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.01462, allocations: 25.45 kB / 0.8508 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01462, allocations: 4 kB / 0.8508 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01462, allocations: 0 / 0.8508 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01462, allocations: 4.062 kB / 0.8508 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.01503, allocations: 0.5762 MB / 0.8514 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.01503, allocations: 3.984 kB / 0.8514 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.01508, allocations: 23.94 kB / 0.8514 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.685e-05/0.01517, allocations: 33.02 kB / 0.8514 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.01517, allocations: 8 kB / 0.8514 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004829/0.01566, allocations: 1.187 MB / 0.8526 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01566, allocations: 0 / 0.8526 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.01581, allocations: 292.7 kB / 0.8529 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.01585, allocations: 35.78 kB / 0.8529 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.01586, allocations: 4 kB / 0.8529 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.01593, allocations: 11.98 kB / 0.8529 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.01595, allocations: 19.86 kB / 0.8529 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01596, allocations: 4 kB / 0.8529 GB, free: 14.85 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.01601, allocations: 67.41 kB / 0.853 GB, free: 14.78 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.01601, allocations: 0 / 0.853 GB, free: 14.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000211/0.01622, allocations: 83.78 kB / 0.8531 GB, free: 14.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.122e-05/0.01629, allocations: 84.36 kB / 0.8532 GB, free: 14.61 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.0165, allocations: 216.8 kB / 0.8534 GB, free: 14.38 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.01651, allocations: 4 kB / 0.8534 GB, free: 14.38 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.0166, allocations: 168.5 kB / 0.8535 GB, free: 14.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01682, allocations: 48.7 kB / 0.8536 GB, free: 14.15 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.0175, allocations: 0.5394 MB / 0.8541 GB, free: 13.56 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.927e-05/0.01756, allocations: 108.1 kB / 0.8542 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.162e-05/0.01762, allocations: 21.95 kB / 0.8542 GB, free: 13.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01772, allocations: 99.28 kB / 0.8543 GB, free: 13.32 MB / 0.823 GB Notification: Performance of SimCode: time 3.61e-07/0.01772, allocations: 0 / 0.8543 GB, free: 13.32 MB / 0.823 GB Notification: Performance of Templates: time 0.004284/0.02201, allocations: 2.637 MB / 0.8569 GB, free: 10.74 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.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.289784686639905]