Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 110.2 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8194, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004061/0.8235, allocations: 2.638 MB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.8259, allocations: 1.318 MB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.8261, allocations: 7.062 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008045/0.8269, allocations: 172.1 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.8275, allocations: 174.1 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.8281, allocations: 160.9 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.8285, allocations: 263 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.8289, allocations: 140.1 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.8292, allocations: 107.7 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.8295, allocations: 122.9 kB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.8295, allocations: 14.47 kB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.8299, allocations: 153.7 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.83, allocations: 67.09 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.8301, allocations: 92.48 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.8306, allocations: 290.8 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8306, allocations: 0 / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8306, allocations: 0 / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.8307, allocations: 1.344 kB / 1.094 GB, free: 2.062 MB / 0.8575 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.0008056/0.8315, allocations: 0.4934 MB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8315, allocations: 9.531 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005207/0.832, allocations: 75.59 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.8323, allocations: 250.9 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.8324, allocations: 5.75 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.8324, allocations: 14.33 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.833, allocations: 307.6 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.833, allocations: 0 / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.8331, allocations: 11.36 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.8331, allocations: 27.64 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000613/0.8338, allocations: 260.8 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.8354, allocations: 1.497 MB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.8359, allocations: 249.8 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.8362, allocations: 133.9 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.8363, allocations: 5.844 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.8363, allocations: 32.61 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.8363, allocations: 0 / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008589/0.8372, allocations: 345.9 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.8372, allocations: 80.05 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.8375, allocations: 181.2 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.8375, allocations: 30.83 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.8376, allocations: 148.8 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.8377, allocations: 50.58 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.8378, allocations: 43.28 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8379, allocations: 332 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.8382, allocations: 111.4 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.8384, allocations: 167 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.839, allocations: 281.8 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.839, allocations: 1.344 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006118/0.8396, allocations: 306.2 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8397, allocations: 7 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8397, allocations: 1.125 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8397, allocations: 3.312 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.84, allocations: 59.81 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.84, allocations: 4 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.8403, allocations: 36.62 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.8403, allocations: 6.734 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002851/0.8406, allocations: 200.7 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002423/0.8408, allocations: 160 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004051/0.8412, allocations: 254.9 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.8413, allocations: 5 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005567/0.8418, allocations: 270.6 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.8418, allocations: 10.34 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.8418, allocations: 2.188 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.8419, allocations: 2.969 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.8421, allocations: 51.83 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8421, allocations: 7.828 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.8423, allocations: 29.64 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.8423, allocations: 7.031 kB / 1.1 GB, free: 13.69 MB / 0.8731 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.000124/0.8424, allocations: 189 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.8425, allocations: 20.12 kB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.8431, allocations: 271.4 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8431, allocations: 1.469 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.8431, allocations: 5.719 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8431, allocations: 5.641 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.8443, allocations: 0.6889 MB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8443, allocations: 3.312 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.8446, allocations: 42.19 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8446, allocations: 6.125 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.8446, allocations: 7.125 kB / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.8446, allocations: 2.641 kB / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8446, allocations: 1.562 kB / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.8453, allocations: 457 kB / 1.102 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.8454, allocations: 116.4 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.8454, allocations: 8.047 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.8456, allocations: 20.36 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.8457, allocations: 14.64 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.8457, allocations: 5.203 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001243/0.8459, allocations: 129.8 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8459, allocations: 0 / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005124/0.8464, allocations: 81.41 kB / 1.102 GB, free: 12.35 MB / 0.8731 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.0001326/0.8465, allocations: 111.1 kB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008797/0.8474, allocations: 374.4 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8474, allocations: 4.656 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.8477, allocations: 115.5 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.8483, allocations: 49.11 kB / 1.103 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.8492, allocations: 474.6 kB / 1.104 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.8495, allocations: 0.742 MB / 1.104 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.8496, allocations: 23.47 kB / 1.104 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.8496, allocations: 0 / 1.104 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.005281/0.8549, allocations: 2.594 MB / 1.107 GB, free: 10.86 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches