Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001274/0.001274, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.675/2.675, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 68 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7085/0.7105, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2058/0.9163, allocations: 174.1 MB / 1.253 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.9264, allocations: 9.506 MB / 1.262 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.9267, allocations: 11.94 kB / 1.262 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.9274, allocations: 190.7 kB / 1.262 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.9277, allocations: 91.31 kB / 1.262 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.9278, allocations: 67.92 kB / 1.263 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.9282, allocations: 338.6 kB / 1.263 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.9286, allocations: 200.8 kB / 1.263 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.929, allocations: 163.4 kB / 1.263 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.9291, allocations: 123.4 kB / 1.263 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.9292, allocations: 24 kB / 1.263 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.831e-05/0.9292, allocations: 20 kB / 1.263 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.9293, allocations: 75.75 kB / 1.263 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.9295, allocations: 131.4 kB / 1.264 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.9298, allocations: 275.1 kB / 1.264 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9298, allocations: 0 / 1.264 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9298, allocations: 0 / 1.264 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9298, allocations: 0 / 1.264 GB, free: 5.09 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005548/0.9303, allocations: 0.5107 MB / 1.264 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.9304, allocations: 8.031 kB / 1.264 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.9305, allocations: 35.56 kB / 1.264 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.9308, allocations: 266.5 kB / 1.265 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.9308, allocations: 20.56 kB / 1.265 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.9308, allocations: 28 kB / 1.265 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.9313, allocations: 327.5 kB / 1.265 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.9313, allocations: 11.88 kB / 1.265 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.9314, allocations: 12 kB / 1.265 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9314, allocations: 4 kB / 1.265 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.9316, allocations: 143.7 kB / 1.265 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.9331, allocations: 1.816 MB / 1.267 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.9332, allocations: 169.1 kB / 1.267 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.9333, allocations: 88.08 kB / 1.267 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.9333, allocations: 79.25 kB / 1.267 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.9334, allocations: 113.8 kB / 1.267 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.9334, allocations: 0 / 1.267 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.468e-05/0.9335, allocations: 49.42 kB / 1.267 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.9336, allocations: 134.7 kB / 1.268 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.934, allocations: 373.6 kB / 1.268 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.934, allocations: 25.7 kB / 1.268 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.9342, allocations: 167.8 kB / 1.268 GB, free: 476 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.9342, allocations: 4 kB / 1.268 GB, free: 472 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.9342, allocations: 13.72 kB / 1.268 GB, free: 452 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9344, allocations: 338.8 kB / 1.268 GB, free: 104 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.9344, allocations: 3.984 kB / 1.268 GB, free: 100 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.9345, allocations: 44.23 kB / 1.268 GB, free: 40 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.9345, allocations: 40.28 kB / 1.268 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9345, allocations: 4 kB / 1.268 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001541/0.9347, allocations: 93.27 kB / 1.269 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.9347, allocations: 4 kB / 1.269 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9347, allocations: 4 kB / 1.269 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.9347, allocations: 4 kB / 1.269 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.9348, allocations: 15.92 kB / 1.269 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9348, allocations: 112 / 1.269 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.9349, allocations: 27.62 kB / 1.269 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.9349, allocations: 8.156 kB / 1.269 GB, free: 15.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001457/0.9351, allocations: 210.9 kB / 1.269 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.9352, allocations: 140.5 kB / 1.269 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.9353, allocations: 127 kB / 1.269 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.827e-05/0.9353, allocations: 176.3 kB / 1.269 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.047e-05/0.9354, allocations: 184.2 kB / 1.269 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.691e-05/0.9355, allocations: 188.3 kB / 1.27 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.9359, allocations: 489 kB / 1.27 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/0.9359, allocations: 104.9 kB / 1.27 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.936, allocations: 105 kB / 1.27 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/0.9361, allocations: 180.2 kB / 1.27 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.393e-05/0.9362, allocations: 184.2 kB / 1.271 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-05/0.9362, allocations: 180.2 kB / 1.271 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.294e-05/0.9363, allocations: 184.3 kB / 1.271 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.9365, allocations: 327.5 kB / 1.271 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.9366, allocations: 217.7 kB / 1.271 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.9368, allocations: 184.2 kB / 1.272 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9369, allocations: 101 kB / 1.272 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.937, allocations: 180.6 kB / 1.272 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.937, allocations: 112.9 kB / 1.272 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002801/0.9373, allocations: 267.2 kB / 1.272 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9373, allocations: 0 / 1.272 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002889/0.9376, allocations: 31.94 kB / 1.272 GB, free: 11.81 MB / 0.9981 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 (0): * Single equations (assignments): 0 * 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.0001501/0.9378, allocations: 183 kB / 1.272 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.183e-05/0.9379, allocations: 11.97 kB / 1.273 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9379, allocations: 0 / 1.273 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.9379, allocations: 4 kB / 1.273 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.9387, allocations: 0.5542 MB / 1.273 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.9394, allocations: 479 kB / 1.274 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.9398, allocations: 0.7558 MB / 1.274 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.9398, allocations: 19.44 kB / 1.274 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.9398, allocations: 4 kB / 1.274 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.005115/0.9449, allocations: 3.101 MB / 1.277 GB, free: 6.664 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches