Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001572/0.001572, allocations: 111.6 kB / 17.08 MB, free: 5.98 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.001651/0.001651, allocations: 194.2 kB / 20.03 MB, free: 3.051 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.515/1.515, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.068/3.068, allocations: 489.3 MB / 0.7687 GB, free: 4 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 1.103 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004226/1.098, allocations: 2.652 MB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002137/1.1, allocations: 1.316 MB / 1.266 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/1.1, allocations: 7.156 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007048/1.101, allocations: 173.8 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/1.101, allocations: 168.9 kB / 1.267 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/1.102, allocations: 165 kB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004094/1.102, allocations: 268.7 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/1.102, allocations: 140.9 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/1.103, allocations: 111.5 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/1.103, allocations: 131 kB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/1.103, allocations: 15.78 kB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/1.103, allocations: 149.5 kB / 1.268 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/1.104, allocations: 76.5 kB / 1.268 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/1.104, allocations: 88.77 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005109/1.104, allocations: 305 kB / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.104, allocations: 1.094 kB / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/1.104, allocations: 0 / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.274e-05/1.104, allocations: 0 / 1.268 GB, free: 4.559 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008434/1.105, allocations: 0.4973 MB / 1.269 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.105, allocations: 9.406 kB / 1.269 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/1.106, allocations: 67.44 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/1.106, allocations: 256 kB / 1.269 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.106, allocations: 10.23 kB / 1.269 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/1.106, allocations: 12.84 kB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/1.107, allocations: 319.9 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.107, allocations: 0.9062 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/1.107, allocations: 6 kB / 1.269 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/1.107, allocations: 28.27 kB / 1.269 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/1.107, allocations: 258.1 kB / 1.27 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/1.109, allocations: 1.52 MB / 1.271 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/1.109, allocations: 253.5 kB / 1.271 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/1.109, allocations: 133.3 kB / 1.271 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/1.109, allocations: 9.781 kB / 1.271 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/1.109, allocations: 35.53 kB / 1.271 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/1.109, allocations: 1.188 kB / 1.271 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000807/1.11, allocations: 345 kB / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.11, allocations: 79.39 kB / 1.272 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/1.111, allocations: 181.4 kB / 1.272 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/1.111, allocations: 27.05 kB / 1.272 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/1.111, allocations: 144.6 kB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/1.111, allocations: 58.83 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/1.111, allocations: 48.27 kB / 1.272 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/1.111, allocations: 323.5 kB / 1.273 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.111, allocations: 120.1 kB / 1.273 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/1.111, allocations: 170.9 kB / 1.273 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/1.112, allocations: 284.8 kB / 1.273 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.112, allocations: 1.25 kB / 1.273 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000596/1.112, allocations: 325.4 kB / 1.273 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.112, allocations: 8.281 kB / 1.274 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.112, allocations: 2.062 kB / 1.274 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.113, allocations: 2.469 kB / 1.274 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/1.113, allocations: 60.62 kB / 1.274 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.113, allocations: 3.031 kB / 1.274 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/1.113, allocations: 40.81 kB / 1.274 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.113, allocations: 8.75 kB / 1.274 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002769/1.113, allocations: 203.4 kB / 1.274 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002251/1.114, allocations: 159.9 kB / 1.274 GB, free: 452 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004195/1.114, allocations: 259.1 kB / 1.274 GB, free: 304 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/1.114, allocations: 0 / 1.274 GB, free: 304 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005283/1.115, allocations: 285 kB / 1.274 GB, free: 184 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.115, allocations: 5.906 kB / 1.274 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/1.115, allocations: 1.906 kB / 1.274 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-06/1.115, allocations: 7.469 kB / 1.274 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/1.115, allocations: 52.03 kB / 1.275 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.115, allocations: 7.312 kB / 1.275 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/1.115, allocations: 30.06 kB / 1.275 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/1.115, allocations: 6.812 kB / 1.275 GB, free: 160 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0001288/1.115, allocations: 197.2 kB / 1.275 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/1.115, allocations: 19.47 kB / 1.275 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/1.116, allocations: 277.6 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.116, allocations: 2.688 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.116, allocations: 0.8438 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.116, allocations: 2.453 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/1.117, allocations: 0.6811 MB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.117, allocations: 1.562 kB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/1.117, allocations: 49.38 kB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/1.117, allocations: 2.438 kB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/1.117, allocations: 10.19 kB / 1.276 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.117, allocations: 2.562 kB / 1.276 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.117, allocations: 0.9062 kB / 1.276 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/1.118, allocations: 447.1 kB / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/1.118, allocations: 116.4 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/1.118, allocations: 11.19 kB / 1.276 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/1.118, allocations: 22.27 kB / 1.276 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/1.119, allocations: 14.39 kB / 1.276 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/1.119, allocations: 4.469 kB / 1.276 GB, free: 14.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001283/1.119, allocations: 135.6 kB / 1.277 GB, free: 14.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.394e-06/1.119, allocations: 0 / 1.277 GB, free: 14.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005086/1.119, allocations: 90.38 kB / 1.277 GB, free: 14.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001376/1.119, allocations: 105.1 kB / 1.277 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008177/1.12, allocations: 388.3 kB / 1.277 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.12, allocations: 2.031 kB / 1.277 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/1.12, allocations: 118.9 kB / 1.277 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/1.121, allocations: 47.27 kB / 1.277 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000929/1.122, allocations: 477 kB / 1.278 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/1.122, allocations: 0.7402 MB / 1.278 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/1.122, allocations: 19.44 kB / 1.278 GB, free: 13.52 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.122, allocations: 1.094 kB / 1.278 GB, free: 13.52 MB / 1.014 GB Notification: Performance of Templates: time 0.005533/1.128, allocations: 2.632 MB / 1.281 GB, free: 13.3 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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: 12.318606867920607]