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.001329/0.001329, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001644/0.001644, allocations: 219.7 kB / 23.01 MB, free: 4.566 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.259/3.259, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.002657/0.002657, allocations: 69.56 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4157, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00458/0.4203, allocations: 2.74 MB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.4227, allocations: 1.395 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.4228, allocations: 7.938 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007593/0.4236, allocations: 179.3 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.424, allocations: 171.2 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.4244, allocations: 159.7 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.4248, allocations: 287.1 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.4251, allocations: 121.5 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.4254, allocations: 115.6 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.4257, allocations: 147.5 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.4257, allocations: 12 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.426, allocations: 151.6 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.4261, allocations: 67.81 kB / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.4262, allocations: 95.52 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.4266, allocations: 302.8 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4266, allocations: 0 / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4266, allocations: 0 / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.4266, allocations: 0 / 1.333 GB, free: 11.49 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.0009095/0.4275, allocations: 429.5 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4276, allocations: 12.03 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.4281, allocations: 72.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4284, allocations: 183.8 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4284, allocations: 8.656 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.4285, allocations: 20.36 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.4291, allocations: 316.7 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4291, allocations: 0 / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.4291, allocations: 4 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/0.4291, allocations: 36.19 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.4297, allocations: 256.6 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.4315, allocations: 1.49 MB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.432, allocations: 249 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.4322, allocations: 117.6 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.4322, allocations: 4 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4323, allocations: 38.55 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4323, allocations: 0 / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0007942/0.4331, allocations: 343.5 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.4331, allocations: 85.09 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.4333, allocations: 175.3 kB / 1.337 GB, free: 7.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.4334, allocations: 29.7 kB / 1.337 GB, free: 7.375 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4335, allocations: 140.2 kB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.4335, allocations: 55.53 kB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.4336, allocations: 53.58 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4338, allocations: 334.7 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.434, allocations: 116.8 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.4343, allocations: 165.9 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.4348, allocations: 300.5 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4348, allocations: 4 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00056/0.4353, allocations: 313.3 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4353, allocations: 8 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4353, allocations: 3.938 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4354, allocations: 4 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.4357, allocations: 56.17 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.4357, allocations: 7.938 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.4359, allocations: 35.86 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.4359, allocations: 11.98 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002814/0.4362, allocations: 204 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002253/0.4364, allocations: 155.5 kB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004284/0.4368, allocations: 257.3 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.4368, allocations: 4 kB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005509/0.4374, allocations: 281.5 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4374, allocations: 13.88 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4374, allocations: 3.984 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.4374, allocations: 11.92 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.4376, allocations: 47.95 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4376, allocations: 4 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.4378, allocations: 35.8 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4378, allocations: 12 kB / 1.339 GB, free: 4.652 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.0001712/0.438, allocations: 192.2 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.438, allocations: 15.91 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006259/0.4387, allocations: 273.9 kB / 1.34 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4387, allocations: 4 kB / 1.34 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.4387, allocations: 0 / 1.34 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4387, allocations: 0 / 1.34 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.4398, allocations: 0.6528 MB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4398, allocations: 4 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.4401, allocations: 47.95 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4401, allocations: 0 / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4401, allocations: 7.938 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4401, allocations: 3.938 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4401, allocations: 4.125 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.4407, allocations: 446 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4408, allocations: 43.81 kB / 1.341 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.4408, allocations: 11.89 kB / 1.341 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.441, allocations: 15.98 kB / 1.341 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.4411, allocations: 15.91 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4411, allocations: 8 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001295/0.4412, allocations: 139.1 kB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4412, allocations: 0 / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004683/0.4417, allocations: 79.89 kB / 1.341 GB, free: 2.605 MB / 1.029 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.0001311/0.4418, allocations: 103.2 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007493/0.4426, allocations: 368.1 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4426, allocations: 4.125 kB / 1.341 GB, free: 2.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.4428, allocations: 111.8 kB / 1.342 GB, free: 2.023 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.4433, allocations: 43.5 kB / 1.342 GB, free: 1.984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.4442, allocations: 488.6 kB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.4446, allocations: 0.7402 MB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.4447, allocations: 19.44 kB / 1.343 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4447, allocations: 0 / 1.343 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of Templates: time 0.004947/0.4496, allocations: 2.635 MB / 1.345 GB, free: 14.05 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: 12.084185526007786]