Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001755/0.001755, allocations: 96.2 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002336/0.002336, allocations: 205.5 kB / 23 MB, free: 4.934 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.279/3.279, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 75.67 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.413, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004914/0.4179, allocations: 2.643 MB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.4204, allocations: 1.301 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.4205, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007578/0.4212, allocations: 180 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.4216, allocations: 163.3 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.422, allocations: 168.6 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.4225, allocations: 271.2 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.4228, allocations: 133.4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.4231, allocations: 115.6 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.4234, allocations: 143.5 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.4234, allocations: 12 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.4237, allocations: 131.7 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.8e-05/0.4238, allocations: 67.81 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.4239, allocations: 75.59 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.4243, allocations: 303 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4243, allocations: 3.938 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4243, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4243, allocations: 8 kB / 1.333 GB, free: 11.32 MB / 1.029 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.0008724/0.4252, allocations: 429.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4252, allocations: 8.031 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.4258, allocations: 76.7 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.4261, allocations: 183.6 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4261, allocations: 8.656 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.4261, allocations: 16.38 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.4268, allocations: 368.1 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4268, allocations: 3.984 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.4268, allocations: 7.984 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.4269, allocations: 32.25 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.4274, allocations: 256.5 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.429, allocations: 1.103 MB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.4295, allocations: 241.1 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.4298, allocations: 129.6 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4298, allocations: 4 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4298, allocations: 34.56 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4298, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0007973/0.4306, allocations: 346.4 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.4307, allocations: 77.11 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.4309, allocations: 182.9 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.4309, allocations: 29.7 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.431, allocations: 144.1 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/0.4311, allocations: 51.59 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.4311, allocations: 45.66 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4313, allocations: 334.9 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.4316, allocations: 112.8 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.4319, allocations: 207.2 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.4324, allocations: 289.5 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4324, allocations: 4 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006141/0.433, allocations: 313.3 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4331, allocations: 8 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4331, allocations: 224 / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4331, allocations: 8 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.4334, allocations: 59.88 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4334, allocations: 4 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.4336, allocations: 31.86 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.4337, allocations: 12 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002913/0.4339, allocations: 196.1 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002822/0.4342, allocations: 185.2 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004495/0.4347, allocations: 264.3 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.456e-06/0.4347, allocations: 3.938 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005406/0.4352, allocations: 285.3 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4352, allocations: 11.98 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.4352, allocations: 3.938 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.4352, allocations: 4 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.4356, allocations: 51.91 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4356, allocations: 7.984 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.4358, allocations: 23.88 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4358, allocations: 12.22 kB / 1.339 GB, free: 4.844 MB / 1.029 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.0001439/0.4359, allocations: 195.4 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.436, allocations: 15.91 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.4366, allocations: 273.7 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4366, allocations: 0 / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4366, allocations: 3.938 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4367, allocations: 43.81 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.4367, allocations: 0 / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.4369, allocations: 35.89 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.437, allocations: 7.984 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006661/0.4377, allocations: 423.9 kB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006925/0.4384, allocations: 493.9 kB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002102/0.4386, allocations: 102.2 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001194/0.4387, allocations: 132.3 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of Backend: time 7.22e-07/0.4387, allocations: 0 / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.4399, allocations: 435.7 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of SimCode: time 0.001047/0.441, allocations: 0.806 MB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of Templates: time 0.009529/0.4505, allocations: 4.604 MB / 1.346 GB, free: 13.27 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.333465824995073]