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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005291/0.005291, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.422/2.422, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8.062 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2646, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00281/0.2674, allocations: 2.347 MB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.2694, allocations: 1.297 MB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.2695, allocations: 7.938 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.2697, allocations: 19.8 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.2701, allocations: 155.4 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.2704, allocations: 155.8 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.2708, allocations: 371 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.2712, allocations: 313.8 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2714, allocations: 91.64 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.2716, allocations: 127.7 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2717, allocations: 8 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.2719, allocations: 175.6 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.272, allocations: 63.8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.2721, allocations: 109.2 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.2724, allocations: 283.2 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2724, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2724, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2724, allocations: 0 / 1.064 GB, free: 15.32 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.000644/0.2731, allocations: 479 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2731, allocations: 11.97 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.2732, allocations: 58.72 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.2736, allocations: 72.56 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.2739, allocations: 234.2 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2739, allocations: 12.64 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.2739, allocations: 12.38 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.2744, allocations: 312.7 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2744, allocations: 4 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2745, allocations: 4 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.2745, allocations: 36.25 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.275, allocations: 264.5 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.2765, allocations: 1.51 MB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.277, allocations: 257.1 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.2772, allocations: 137.6 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2772, allocations: 8 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.2773, allocations: 34.56 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.2773, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007299/0.278, allocations: 364.2 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2781, allocations: 81.11 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2782, allocations: 175.2 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2782, allocations: 25.7 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.2783, allocations: 148 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.2784, allocations: 51.19 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.2784, allocations: 29.7 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.2785, allocations: 326.8 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.2787, allocations: 111.9 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.279, allocations: 175.5 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.2794, allocations: 282.7 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2795, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005495/0.28, allocations: 323.5 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.809e-05/0.2801, allocations: 139.2 kB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2801, allocations: 0 / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2801, allocations: 7.984 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.2804, allocations: 63.83 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2804, allocations: 7.984 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2806, allocations: 35.73 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.2806, allocations: 11.98 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.2807, allocations: 4 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004481/0.2811, allocations: 243.7 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.2811, allocations: 4 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.2811, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2813, allocations: 59.89 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.2814, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2815, allocations: 31.98 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2815, allocations: 8 kB / 1.07 GB, free: 8.809 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.0001399/0.2817, allocations: 225 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2817, allocations: 11.91 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.2823, allocations: 290.1 kB / 1.071 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2823, allocations: 4 kB / 1.071 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2823, allocations: 7.938 kB / 1.071 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2823, allocations: 3.984 kB / 1.071 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009642/0.2833, allocations: 0.685 MB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2833, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.2835, allocations: 47.95 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2835, allocations: 4 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2835, allocations: 4 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2836, allocations: 8.062 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2836, allocations: 7.938 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.2841, allocations: 453.9 kB / 1.072 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.2842, allocations: 116.8 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.2842, allocations: 7.984 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.2844, allocations: 23.92 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.2845, allocations: 19.86 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2845, allocations: 8 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.283e-05/0.2846, allocations: 131.2 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2846, allocations: 0 / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004285/0.285, allocations: 79.84 kB / 1.072 GB, free: 6.57 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.0007407/0.2858, allocations: 0.9959 MB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006717/0.2865, allocations: 387 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2865, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.2867, allocations: 123.8 kB / 1.074 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.2872, allocations: 33.72 kB / 1.074 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.2899, allocations: 2.554 MB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2901, allocations: 0.748 MB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.2903, allocations: 73.47 kB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.2904, allocations: 47.42 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2905, allocations: 0 / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.3076, allocations: 3.798 MB / 1.081 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.3078, allocations: 231.8 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.984, allocations: 3.219 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > 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