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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001009/0.00101, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8.812 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.315, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00351/0.3186, allocations: 2.335 MB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.321, allocations: 1.309 MB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.3212, allocations: 7.875 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.3214, allocations: 27.73 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.322, allocations: 163.4 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.3225, allocations: 154.6 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.3229, allocations: 363 kB / 1.064 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006002/0.3235, allocations: 305.8 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.3238, allocations: 87.64 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.3242, allocations: 123.6 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.3242, allocations: 15.88 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.3246, allocations: 179.8 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.3247, allocations: 51.77 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3248, allocations: 117.2 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3251, allocations: 211.7 kB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3251, allocations: 0 / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3252, allocations: 4 kB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3252, allocations: 0 / 1.065 GB, free: 15.5 MB / 0.8262 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.0009038/0.3261, allocations: 467.1 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3262, allocations: 15.97 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.3268, allocations: 72.56 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.3271, allocations: 238.2 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3271, allocations: 12.66 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.3272, allocations: 12.36 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.3278, allocations: 316.9 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3278, allocations: 0 / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.3278, allocations: 8 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.814e-05/0.3279, allocations: 28.25 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.3284, allocations: 268.5 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.3302, allocations: 1.514 MB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.3307, allocations: 261.1 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.331, allocations: 137.6 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.331, allocations: 0 / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3311, allocations: 38.56 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3311, allocations: 4 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007872/0.3319, allocations: 361.3 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3319, allocations: 77.11 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3321, allocations: 175.2 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3322, allocations: 29.7 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.3323, allocations: 140 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.3323, allocations: 59.14 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3324, allocations: 25.7 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3325, allocations: 330.8 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3327, allocations: 111.9 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.333, allocations: 167.6 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.3335, allocations: 289.2 kB / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3335, allocations: 0 / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005837/0.3341, allocations: 321.2 kB / 1.07 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.763e-05/0.3342, allocations: 135.2 kB / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3342, allocations: 3.938 kB / 1.07 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3342, allocations: 4 kB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.3345, allocations: 59.89 kB / 1.07 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3345, allocations: 15.92 kB / 1.07 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3347, allocations: 35.73 kB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3348, allocations: 15.97 kB / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.3348, allocations: 4 kB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004656/0.3352, allocations: 243.7 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3353, allocations: 0 / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.3353, allocations: 8 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.3355, allocations: 55.89 kB / 1.07 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3355, allocations: 4 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.3357, allocations: 24.14 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3357, allocations: 8 kB / 1.07 GB, free: 9.059 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.0001736/0.3359, allocations: 228.9 kB / 1.071 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.336, allocations: 15.81 kB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.3365, allocations: 285.6 kB / 1.071 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3366, allocations: 4 kB / 1.071 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3366, allocations: 0 / 1.071 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3366, allocations: 3.984 kB / 1.071 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3376, allocations: 0.6927 MB / 1.072 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3377, allocations: 0 / 1.072 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.3379, allocations: 51.95 kB / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3379, allocations: 0 / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3379, allocations: 4 kB / 1.072 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.3379, allocations: 12.06 kB / 1.072 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.338, allocations: 3.938 kB / 1.072 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.3385, allocations: 458 kB / 1.072 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.3386, allocations: 112.9 kB / 1.072 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3387, allocations: 3.984 kB / 1.072 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3389, allocations: 23.92 kB / 1.072 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.339, allocations: 19.92 kB / 1.072 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.339, allocations: 7.938 kB / 1.072 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3391, allocations: 131.2 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3391, allocations: 0 / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004652/0.3396, allocations: 87.78 kB / 1.073 GB, free: 6.812 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.0001313/0.3397, allocations: 99.25 kB / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007628/0.3405, allocations: 388.2 kB / 1.073 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3405, allocations: 4.125 kB / 1.073 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.3407, allocations: 119.8 kB / 1.073 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.3412, allocations: 48.03 kB / 1.073 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008295/0.3421, allocations: 0.5399 MB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3424, allocations: 0.7517 MB / 1.074 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.3425, allocations: 23.44 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3425, allocations: 0 / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.00477/0.3473, allocations: 2.553 MB / 1.077 GB, free: 2.23 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/jenkins1/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