Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.0008244/0.0008244, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001288/0.001288, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9117/0.9117, allocations: 177.2 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.726/1.726, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.062e-05, allocations: 6.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001436/0.001457, allocations: 0.8022 MB / 0.9818 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.769e-05/0.001554, allocations: 39.78 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.001601, allocations: 4 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.001634, allocations: 11.86 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.001701, allocations: 7.938 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.634e-05/0.001737, allocations: 19.98 kB / 0.9818 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.001827, allocations: 67.77 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.001936, allocations: 27.97 kB / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.023e-05/0.001996, allocations: 35.91 kB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.002046, allocations: 15.91 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.002068, allocations: 8 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.002075, allocations: 4 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.002093, allocations: 19.92 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.002118, allocations: 19.92 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.954e-05/0.002217, allocations: 83.56 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002219, allocations: 4 kB / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00222, allocations: 4 kB / 0.9821 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.002225, allocations: 0 / 0.9821 GB, free: 1.398 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003238/0.002549, allocations: 294 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.002584, allocations: 12.03 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.002631, allocations: 38.73 kB / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.002655, allocations: 16.84 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.002793, allocations: 125.7 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.002803, allocations: 8.375 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.002812, allocations: 4.375 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.002924, allocations: 99.89 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.002931, allocations: 192 / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.00294, allocations: 8.312 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.002946, allocations: 12.12 kB / 0.9827 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.003003, allocations: 39.91 kB / 0.9827 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.003454, allocations: 387.9 kB / 0.9831 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.003497, allocations: 37.19 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.003522, allocations: 21.84 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.00353, allocations: 7.984 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.003546, allocations: 30.56 kB / 0.9832 GB, free: 124 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.003547, allocations: 0 / 0.9832 GB, free: 124 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001242/0.003671, allocations: 53.59 kB / 0.9833 GB, free: 64 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.003715, allocations: 81.05 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.003811, allocations: 161 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.003819, allocations: 25.7 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.003865, allocations: 108 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.345e-06/0.003873, allocations: 11.89 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.003952, allocations: 9.969 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.004022, allocations: 326.8 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.004036, allocations: 8 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.004051, allocations: 17.7 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.004082, allocations: 37.59 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004084, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.272e-05/0.004136, allocations: 53.59 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004147, allocations: 4 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004152, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.004164, allocations: 8.047 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.004209, allocations: 7.938 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.004213, allocations: 0 / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.00423, allocations: 8 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.004233, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.925e-05/0.004282, allocations: 113.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.004303, allocations: 11.91 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.004319, allocations: 11.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.00432, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.004324, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.004328, allocations: 12.08 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.004546, allocations: 433.9 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004546, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.004555, allocations: 7.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004556, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.004561, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004562, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.004563, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.506e-05/0.004608, allocations: 77.94 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.004624, allocations: 15.98 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.004633, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-06/0.004642, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.004654, allocations: 15.98 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.004655, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.165e-05/0.004707, allocations: 121.9 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.004707, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001164/0.004823, allocations: 11.94 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003581/0.005181, allocations: 0.6131 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.005336, allocations: 24.03 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.005338, allocations: 3.938 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.005348, allocations: 8 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.005483, allocations: 15.84 kB / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.006416, allocations: 1.332 MB / 0.9868 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.006462, allocations: 83.56 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.006485, allocations: 4.5 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.006528, allocations: 28.48 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/0.006529, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.01975, allocations: 2.232 MB / 0.9891 GB, free: 9.871 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.771, allocations: 10.5 kB / 0.9891 GB, free: 9.863 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.835268101654947]