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.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001845/0.001845, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.42 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2878, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003813/0.2916, allocations: 2.686 MB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.2936, allocations: 1.332 MB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.2937, allocations: 4 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.2943, allocations: 167.5 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.2946, allocations: 155.4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.2949, allocations: 159.6 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.2952, allocations: 367 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.2956, allocations: 133.4 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2957, allocations: 95.62 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.296, allocations: 131.5 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.296, allocations: 12 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.2963, allocations: 183.6 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.2964, allocations: 59.81 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.2965, allocations: 91.45 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.2968, allocations: 299.3 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2968, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2968, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2968, allocations: 0 / 1.058 GB, free: 2.984 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.0007412/0.2976, allocations: 0.4951 MB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2976, allocations: 8.031 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.2981, allocations: 64.58 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2984, allocations: 236 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2984, allocations: 16.64 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.2984, allocations: 12.38 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.2989, allocations: 308.9 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.299, allocations: 0 / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.299, allocations: 11.94 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.299, allocations: 24.27 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.2995, allocations: 260.5 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3011, allocations: 1.506 MB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.3016, allocations: 261 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.3018, allocations: 132.9 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3019, allocations: 4 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3019, allocations: 30.56 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3019, allocations: 4 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007522/0.3026, allocations: 341.2 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3027, allocations: 81.11 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3029, allocations: 170.7 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3029, allocations: 29.7 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.303, allocations: 140.1 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.3031, allocations: 59.27 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.3031, allocations: 49.61 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3033, allocations: 326.8 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.3035, allocations: 108.8 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.3038, allocations: 170.4 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.3042, allocations: 281.2 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3042, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005492/0.3048, allocations: 313.2 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3048, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3048, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3048, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.3051, allocations: 55.89 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3052, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.3054, allocations: 35.81 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3054, allocations: 8 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002659/0.3057, allocations: 196.1 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002191/0.3059, allocations: 164.3 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003906/0.3063, allocations: 250.6 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.3063, allocations: 4 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004777/0.3068, allocations: 273.1 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.3068, allocations: 8 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3068, allocations: 4 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.3068, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.307, allocations: 60.14 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.307, allocations: 3.938 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3072, allocations: 31.83 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3072, allocations: 15.98 kB / 1.064 GB, free: 12.04 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.0001195/0.3074, allocations: 192.1 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.3074, allocations: 11.91 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.308, allocations: 274.9 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.308, allocations: 3.984 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.308, allocations: 0 / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.308, allocations: 0 / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.309, allocations: 0.6811 MB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.309, allocations: 0 / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3093, allocations: 51.89 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3093, allocations: 4 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3093, allocations: 3.938 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3093, allocations: 4 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3093, allocations: 0 / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.3099, allocations: 449.8 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.31, allocations: 116.8 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.31, allocations: 11.92 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3102, allocations: 15.98 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.3103, allocations: 19.97 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3103, allocations: 4 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.945e-05/0.3104, allocations: 135.2 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3104, allocations: 0 / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004663/0.3109, allocations: 83.84 kB / 1.066 GB, free: 9.879 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.0001102/0.311, allocations: 106.3 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007025/0.3117, allocations: 375.5 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3117, allocations: 0 / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.312, allocations: 116.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.0004692/0.3124, allocations: 42.05 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.3133, allocations: 0.4984 MB / 1.067 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3136, allocations: 0.7402 MB / 1.068 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.3138, allocations: 77.47 kB / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.3139, allocations: 19.42 kB / 1.068 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3139, allocations: 0 / 1.068 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of Templates: time 0.004988/0.3189, allocations: 2.162 MB / 1.07 GB, free: 5.703 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