Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007871/0.0007871, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008115/0.0008115, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8558/0.8558, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.684/1.684, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.981 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.857e-05, allocations: 2.281 kB / 0.981 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002574/0.002602, allocations: 1.44 MB / 0.9824 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.003332, allocations: 439 kB / 0.9828 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.003385, allocations: 0 / 0.9828 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.003414, allocations: 3.938 kB / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.003458, allocations: 3.938 kB / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.003694, allocations: 19.91 kB / 0.9828 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.003793, allocations: 27.92 kB / 0.9828 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003894, allocations: 7.984 kB / 0.9828 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.004042, allocations: 35.78 kB / 0.9829 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.004089, allocations: 4 kB / 0.9829 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.004105, allocations: 4 kB / 0.9829 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.004148, allocations: 4 kB / 0.9829 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.004164, allocations: 11.92 kB / 0.9829 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.004182, allocations: 4 kB / 0.9829 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.004293, allocations: 27.95 kB / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004295, allocations: 0 / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004296, allocations: 0 / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.0043, allocations: 0 / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003782/0.004679, allocations: 274.2 kB / 0.9832 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.004723, allocations: 8.031 kB / 0.9832 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.004759, allocations: 34.73 kB / 0.9832 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.004889, allocations: 12.94 kB / 0.9833 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.00506, allocations: 121.6 kB / 0.9834 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.00507, allocations: 384 / 0.9834 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.005082, allocations: 12.31 kB / 0.9834 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.005205, allocations: 42.25 kB / 0.9834 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.005217, allocations: 4.125 kB / 0.9834 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005227, allocations: 4.125 kB / 0.9834 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.005232, allocations: 0 / 0.9834 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.005312, allocations: 27.97 kB / 0.9835 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.005607, allocations: 208.1 kB / 0.9837 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/0.005686, allocations: 30.56 kB / 0.9837 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.005731, allocations: 20.86 kB / 0.9837 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.005746, allocations: 0 / 0.9837 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.005773, allocations: 46.48 kB / 0.9837 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.005774, allocations: 0 / 0.9837 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002119/0.005986, allocations: 61.78 kB / 0.9838 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.006019, allocations: 51.41 kB / 0.9839 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.006093, allocations: 105.8 kB / 0.984 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006104, allocations: 25.7 kB / 0.984 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.006148, allocations: 92.08 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.006164, allocations: 4 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.006198, allocations: 13.72 kB / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.006283, allocations: 310.8 kB / 0.9844 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.006323, allocations: 11.98 kB / 0.9844 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.00635, allocations: 11.94 kB / 0.9844 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.417e-05/0.006414, allocations: 28.94 kB / 0.9844 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006416, allocations: 0 / 0.9844 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.991e-05/0.006516, allocations: 57.58 kB / 0.9845 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.00653, allocations: 4 kB / 0.9845 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006535, allocations: 3.984 kB / 0.9845 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.006546, allocations: 0 / 0.9845 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.006611, allocations: 4 kB / 0.9845 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.006616, allocations: 0 / 0.9845 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.00664, allocations: 8.031 kB / 0.9845 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.006646, allocations: 0 / 0.9845 GB, free: 13.58 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 6.925e-05/0.006715, allocations: 121.8 kB / 0.9846 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.006739, allocations: 3.938 kB / 0.9846 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.006757, allocations: 7.562 kB / 0.9846 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006759, allocations: 0 / 0.9846 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006762, allocations: 4 kB / 0.9846 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006764, allocations: 0 / 0.9846 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.006908, allocations: 128.8 kB / 0.9848 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.00691, allocations: 3.938 kB / 0.9848 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.006948, allocations: 8 kB / 0.9848 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.00695, allocations: 0 / 0.9848 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.006958, allocations: 7.938 kB / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.006962, allocations: 3.984 kB / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006963, allocations: 320 / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.007099, allocations: 143.5 kB / 0.9849 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.007108, allocations: 7.938 kB / 0.9849 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007119, allocations: 0 / 0.9849 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.007176, allocations: 3.984 kB / 0.9849 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.007207, allocations: 32 / 0.9849 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.00721, allocations: 11.94 kB / 0.9849 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.007251, allocations: 87.27 kB / 0.985 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.007251, allocations: 0 / 0.985 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002433/0.007494, allocations: 4 kB / 0.985 GB, free: 12.98 MB / 0.9011 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 (2): * Single equations (assignments): 2 * 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.0003726/0.007867, allocations: 0.6889 MB / 0.9857 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.00798, allocations: 19.98 kB / 0.9857 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007982, allocations: 4.094 kB / 0.9857 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.008013, allocations: 15.92 kB / 0.9857 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.008248, allocations: 0 / 0.9857 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.009312, allocations: 1.225 MB / 0.9869 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.143e-05/0.009363, allocations: 67.28 kB / 0.987 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.009389, allocations: 4.094 kB / 0.987 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.009427, allocations: 16.48 kB / 0.987 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.009427, allocations: 3.938 kB / 0.987 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.02393, allocations: 1.866 MB / 0.9888 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/6.954, allocations: 7.672 kB / 0.9889 GB, free: 9.074 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable kMinU.u in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv. Warning: Get data of variable kMinU.u from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.857512345537543]