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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00187/0.00187, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002298, allocations: 69.08 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2955, allocations: 157.4 MB / 1.052 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003877/0.2994, allocations: 2.696 MB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3012, allocations: 1.324 MB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.3013, allocations: 7.938 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.302, allocations: 167.5 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.3023, allocations: 147.4 kB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.3027, allocations: 155.8 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.303, allocations: 263.1 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.3033, allocations: 157.4 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3035, allocations: 107.6 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3037, allocations: 127.5 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.3038, allocations: 16 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.304, allocations: 151.6 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.3041, allocations: 67.81 kB / 1.058 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.3042, allocations: 87.53 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.3046, allocations: 295.4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3046, allocations: 7.938 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3046, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3046, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 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.0007069/0.3053, allocations: 0.4927 MB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3054, allocations: 12.62 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.3059, allocations: 68.58 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.3061, allocations: 236 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3061, allocations: 8.656 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.3062, allocations: 20.36 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.3066, allocations: 308.9 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3067, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.3067, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.3068, allocations: 36.19 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.3072, allocations: 260.6 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3087, allocations: 1.502 MB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.3092, allocations: 260.2 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.3094, allocations: 125.6 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3094, allocations: 7.984 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3095, allocations: 38.56 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3095, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007191/0.3102, allocations: 337.2 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3103, allocations: 85.11 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3104, allocations: 170.8 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3104, allocations: 29.7 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.3105, allocations: 140 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.3106, allocations: 55.27 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.3106, allocations: 49.61 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3108, allocations: 334.7 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.311, allocations: 108.8 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3112, allocations: 161.7 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.3117, allocations: 282.6 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3118, allocations: 0 / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006249/0.3124, allocations: 309.2 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3124, allocations: 4 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3124, allocations: 4 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3125, allocations: 3.938 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.3128, allocations: 55.95 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3128, allocations: 4 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.313, allocations: 39.97 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.3131, allocations: 8 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002912/0.3134, allocations: 204 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002231/0.3136, allocations: 155 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004171/0.314, allocations: 250.2 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.314, allocations: 7.938 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005174/0.3146, allocations: 273.3 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3146, allocations: 12.03 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.3146, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.3146, allocations: 4 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3148, allocations: 55.89 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3148, allocations: 4 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.315, allocations: 27.83 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.315, allocations: 11.98 kB / 1.064 GB, free: 12.06 MB / 0.8262 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.0001212/0.3152, allocations: 192.1 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.3152, allocations: 19.91 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005844/0.3158, allocations: 265.3 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3158, allocations: 4 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3159, allocations: 3.984 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3159, allocations: 0 / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3169, allocations: 0.6811 MB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3169, allocations: 0 / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.3172, allocations: 51.83 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3172, allocations: 0 / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3172, allocations: 11.94 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3172, allocations: 0 / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3172, allocations: 4 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.3177, allocations: 453.9 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.3179, allocations: 116.8 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.3179, allocations: 11.92 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.3181, allocations: 15.98 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.3182, allocations: 11.98 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3182, allocations: 8 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.442e-05/0.3183, allocations: 139.1 kB / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3183, allocations: 0 / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004715/0.3188, allocations: 79.84 kB / 1.066 GB, free: 9.891 MB / 0.8262 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.0001101/0.3189, allocations: 107.2 kB / 1.066 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007237/0.3196, allocations: 382.6 kB / 1.067 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3196, allocations: 4.125 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.3199, allocations: 115.8 kB / 1.067 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.3204, allocations: 44.17 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.3212, allocations: 0.5142 MB / 1.067 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3215, allocations: 0.744 MB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.3217, allocations: 73.47 kB / 1.068 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.3218, allocations: 23.42 kB / 1.068 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3218, allocations: 4 kB / 1.068 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.005194/0.327, allocations: 2.235 MB / 1.07 GB, free: 5.602 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches