Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.000941/0.0009411, allocations: 91.84 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.005975/0.005975, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 12.56 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002144/0.2419, allocations: 1.96 MB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.243, allocations: 0.9444 MB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.2431, allocations: 4 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.2436, allocations: 183.2 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2437, allocations: 55.62 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.2439, allocations: 91.83 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2441, allocations: 215 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2443, allocations: 77.7 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.2444, allocations: 75.52 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2445, allocations: 95.42 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.2445, allocations: 8 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.2448, allocations: 139.8 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.2449, allocations: 195.4 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.2451, allocations: 267.8 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.2457, allocations: 0.6963 MB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2457, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2457, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2457, allocations: 0 / 1.064 GB, free: 15.82 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009376/0.2467, allocations: 0.8701 MB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2467, allocations: 11.97 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.2468, allocations: 50.73 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.2472, allocations: 111.9 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/0.2479, allocations: 0.5973 MB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2479, allocations: 8.375 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.248, allocations: 12.38 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.2483, allocations: 190.2 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2483, allocations: 3.938 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2483, allocations: 4 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2484, allocations: 7.984 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.2488, allocations: 240.4 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.2498, allocations: 0.9099 MB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.2504, allocations: 314.5 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.2506, allocations: 108.9 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008659/0.2515, allocations: 404.7 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2515, allocations: 38.5 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.2515, allocations: 3.938 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007279/0.2523, allocations: 404.5 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2523, allocations: 55.41 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.2533, allocations: 0.9935 MB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2534, allocations: 29.7 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.2536, allocations: 344 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.2537, allocations: 31.55 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.2537, allocations: 9.719 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2538, allocations: 322 kB / 1.07 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.254, allocations: 95.95 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2542, allocations: 114.5 kB / 1.07 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.2546, allocations: 222.4 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2546, allocations: 0 / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005054/0.2551, allocations: 320.5 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2551, allocations: 7.938 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2552, allocations: 4 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.2552, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2553, allocations: 23.98 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2553, allocations: 4.062 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.2555, allocations: 11.98 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2555, allocations: 4 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002198/0.2557, allocations: 245.7 kB / 1.071 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.2558, allocations: 75.47 kB / 1.071 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.2564, allocations: 340.3 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2564, allocations: 4 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2564, allocations: 0 / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2564, allocations: 3.984 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.2569, allocations: 0.5323 MB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2569, allocations: 4 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2571, allocations: 19.92 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2571, allocations: 4 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2571, allocations: 3.984 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2571, allocations: 0 / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2571, allocations: 4 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.2576, allocations: 406.4 kB / 1.072 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.2578, allocations: 180.1 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.2579, allocations: 11.98 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.258, allocations: 4 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.2581, allocations: 7.984 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2581, allocations: 4 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007629/0.2589, allocations: 0.7254 MB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2589, allocations: 0 / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003039/0.2592, allocations: 71.84 kB / 1.073 GB, free: 6.016 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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.0008241/0.26, allocations: 0.9458 MB / 1.074 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.2604, allocations: 224 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2605, allocations: 0 / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2607, allocations: 107.9 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.261, allocations: 55.64 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.2692, allocations: 6.79 MB / 1.081 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.2697, allocations: 0.9487 MB / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.2699, allocations: 77.33 kB / 1.082 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.2701, allocations: 219.4 kB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.2701, allocations: 0 / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.229/1.499, allocations: 11.28 MB / 1.093 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/1.499, allocations: 226.3 kB / 1.093 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.72, allocations: 0 / 1.093 GB, free: 1.184 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches