Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel",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.00193/0.00193, allocations: 108 kB / 15.61 MB, free: 152 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.002001/0.002001, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.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.322/2.322, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.555, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005151/0.5602, allocations: 4.357 MB / 0.954 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.5631, allocations: 1.86 MB / 0.9558 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.5633, allocations: 7.812 kB / 0.9558 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.5648, allocations: 0.5905 MB / 0.9564 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.5653, allocations: 257.3 kB / 0.9566 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.5658, allocations: 256.8 kB / 0.9569 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000523/0.5663, allocations: 0.6147 MB / 0.9575 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.567, allocations: 479.2 kB / 0.9579 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.5672, allocations: 247 kB / 0.9582 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.5676, allocations: 266.5 kB / 0.9584 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/0.5677, allocations: 36.56 kB / 0.9584 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.568, allocations: 253.8 kB / 0.9587 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.5682, allocations: 153 kB / 0.9588 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.5684, allocations: 218.3 kB / 0.959 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.5689, allocations: 0.5976 MB / 0.9596 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5689, allocations: 1.406 kB / 0.9596 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.569, allocations: 11.88 kB / 0.9596 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.569, allocations: 0 / 0.9596 GB, free: 1.766 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001139/0.5701, allocations: 0.7149 MB / 0.9603 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5702, allocations: 14.56 kB / 0.9603 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/0.5702, allocations: 80.58 kB / 0.9604 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/0.5712, allocations: 141.8 kB / 0.9606 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.5716, allocations: 325.3 kB / 0.9609 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5716, allocations: 31.33 kB / 0.9609 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.5717, allocations: 29.09 kB / 0.9609 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.5725, allocations: 0.5401 MB / 0.9615 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5725, allocations: 1.344 kB / 0.9615 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.5726, allocations: 11.88 kB / 0.9615 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.5726, allocations: 35.95 kB / 0.9615 GB, free: 312 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.5731, allocations: 390.3 kB / 0.9619 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.5755, allocations: 2.406 MB / 0.9642 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.5761, allocations: 264.7 kB / 0.9645 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.5762, allocations: 110.2 kB / 0.9646 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.5763, allocations: 6.266 kB / 0.9646 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.5763, allocations: 36.72 kB / 0.9646 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.5763, allocations: 0 / 0.9646 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002105/0.5784, allocations: 1.127 MB / 0.9657 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.5785, allocations: 54.53 kB / 0.9658 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.5788, allocations: 303.9 kB / 0.9661 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.5788, allocations: 30.77 kB / 0.9661 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5789, allocations: 229.3 kB / 0.9663 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.579, allocations: 77.45 kB / 0.9664 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.5791, allocations: 61.78 kB / 0.9664 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5792, allocations: 341.9 kB / 0.9668 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.5794, allocations: 105.4 kB / 0.9669 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.5796, allocations: 191.9 kB / 0.9671 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.58, allocations: 318.9 kB / 0.9674 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.58, allocations: 1 kB / 0.9674 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007273/0.5807, allocations: 444.4 kB / 0.9678 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5808, allocations: 5.469 kB / 0.9678 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5808, allocations: 2.844 kB / 0.9678 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/0.5811, allocations: 103.5 kB / 0.9679 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.5814, allocations: 60.47 kB / 0.9679 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.5845, allocations: 4.401 MB / 0.9722 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.5847, allocations: 8.188 kB / 0.9723 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5848, allocations: 18.72 kB / 0.9723 GB, free: 6.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.585, allocations: 179.3 kB / 0.9724 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.585, allocations: 34.53 kB / 0.9725 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.5851, allocations: 42.34 kB / 0.9725 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5851, allocations: 2.812 kB / 0.9725 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5852, allocations: 5.438 kB / 0.9725 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5852, allocations: 3.984 kB / 0.9725 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.5856, allocations: 392.8 kB / 0.9729 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.5856, allocations: 5.125 kB / 0.9729 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.5858, allocations: 34.02 kB / 0.9729 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/0.5861, allocations: 91.25 kB / 0.973 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.5861, allocations: 5.281 kB / 0.973 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.5889, allocations: 4.394 MB / 0.9773 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.589, allocations: 5.438 kB / 0.9773 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.5898, allocations: 0.5533 MB / 0.9779 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.5899, allocations: 120.7 kB / 0.978 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.59, allocations: 8.859 kB / 0.978 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.5902, allocations: 14.41 kB / 0.978 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.5902, allocations: 24.59 kB / 0.978 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.5903, allocations: 4.594 kB / 0.978 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002086/0.5905, allocations: 209.6 kB / 0.9782 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5905, allocations: 0 / 0.9782 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005116/0.591, allocations: 99.22 kB / 0.9783 GB, free: 0.7383 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.5921, allocations: 1.099 MB / 0.9794 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009117/0.593, allocations: 0.6239 MB / 0.98 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.593, allocations: 1.812 kB / 0.98 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.5935, allocations: 470.7 kB / 0.9805 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.594, allocations: 83.31 kB / 0.9805 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.598, allocations: 3.387 MB / 0.9838 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.5984, allocations: 0.832 MB / 0.9847 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.5986, allocations: 57.28 kB / 0.9847 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.5988, allocations: 111.4 kB / 0.9848 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.5988, allocations: 0 / 0.9848 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/0.6424, allocations: 7.645 MB / 0.9923 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.78, allocations: 9.734 kB / 0.9923 GB, free: 4.508 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches