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.001661/0.001661, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002206/0.002206, allocations: 208.2 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.567/1.567, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 0.49 GB / 0.7951 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 68.2 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002396/0.3365, allocations: 0.8287 MB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.3366, allocations: 43.78 kB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.3367, allocations: 4 kB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.178e-05/0.3367, allocations: 11.86 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.3368, allocations: 3.938 kB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.226e-05/0.3369, allocations: 19.98 kB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3371, allocations: 63.78 kB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3373, allocations: 31.97 kB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.3373, allocations: 23.88 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.3374, allocations: 35.83 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3374, allocations: 11.94 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.3375, allocations: 8 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.3375, allocations: 8 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.3375, allocations: 39.73 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.3377, allocations: 75.8 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3377, allocations: 0 / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3377, allocations: 4 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3377, allocations: 0 / 1.327 GB, free: 0.7305 MB / 1.014 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.0005288/0.3382, allocations: 311.5 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3383, allocations: 12.03 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.3383, allocations: 38.75 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.3383, allocations: 8.891 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.3386, allocations: 134.3 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3386, allocations: 8.375 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3386, allocations: 4.375 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3388, allocations: 99.84 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3388, allocations: 3.938 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3388, allocations: 4 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3388, allocations: 4 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.3389, allocations: 39.92 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.3395, allocations: 395.7 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.3396, allocations: 45.28 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.3396, allocations: 17.84 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3397, allocations: 7.938 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3397, allocations: 30.56 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3397, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002041/0.3399, allocations: 57.77 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.34, allocations: 89.05 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3401, allocations: 160.2 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3401, allocations: 29.7 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.3402, allocations: 100 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.3402, allocations: 15.92 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.3403, allocations: 13.72 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3404, allocations: 318.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.3405, allocations: 11.94 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.3405, allocations: 17.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.3405, allocations: 29.72 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3405, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.388e-05/0.3406, allocations: 57.58 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3406, allocations: 7.938 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3407, allocations: 4.062 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3407, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.3407, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.3408, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.3408, allocations: 7.953 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.3408, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 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 0.0001052/0.3409, allocations: 118.4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.3409, allocations: 11.89 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.341, allocations: 11.81 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.341, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.341, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.341, allocations: 7.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.3415, allocations: 445.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3415, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.3415, allocations: 7.922 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3415, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3415, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3415, allocations: 4.062 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3415, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.959e-05/0.3416, allocations: 73.89 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.3417, allocations: 19.89 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3417, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.3417, allocations: 3.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.3417, allocations: 4.031 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3417, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3418, allocations: 130.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3418, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001915/0.342, allocations: 8 kB / 1.33 GB, free: 13.52 MB / 1.029 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.0004291/0.3424, allocations: 0.6132 MB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.3425, allocations: 19.94 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3425, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.3426, allocations: 7.984 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.3427, allocations: 5.719 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3441, allocations: 1.334 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3444, allocations: 0.6924 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.3444, allocations: 8.422 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.3445, allocations: 23.44 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3445, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3724, allocations: 1.696 MB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 3.938 kB / 1.334 GB, free: 9.09 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.746012551011518]