Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001399/0.001399, allocations: 107 kB / 16.45 MB, free: 6.453 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.001596/0.001596, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.229/3.229, allocations: 0.49 GB / 0.7916 GB, free: 33.18 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_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.002082/0.002082, allocations: 69.47 kB / 1.149 GB, free: 26.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 176.1 MB / 1.321 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002375/0.3458, allocations: 0.8248 MB / 1.322 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.346, allocations: 39.78 kB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.3461, allocations: 4 kB / 1.322 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.3461, allocations: 7.875 kB / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.3462, allocations: 15.86 kB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.189e-05/0.3463, allocations: 15.98 kB / 1.322 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3464, allocations: 63.84 kB / 1.322 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.3465, allocations: 31.92 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.3466, allocations: 31.84 kB / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.3467, allocations: 27.8 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3467, allocations: 8 kB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.3467, allocations: 7.938 kB / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.3467, allocations: 15.98 kB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.3468, allocations: 35.73 kB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.3469, allocations: 75.86 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3469, allocations: 0 / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3469, allocations: 0 / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.3469, allocations: 4 kB / 1.322 GB, free: 2.242 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.0005389/0.3475, allocations: 383.1 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/0.3476, allocations: 19.97 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.3476, allocations: 38.69 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3476, allocations: 8.891 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3479, allocations: 192.2 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3479, allocations: 8.375 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3479, allocations: 12.31 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3481, allocations: 95.8 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3481, allocations: 3.938 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3481, allocations: 8 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3481, allocations: 0 / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.3482, allocations: 35.98 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.3488, allocations: 440.7 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.265e-05/0.3489, allocations: 37.14 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.3489, allocations: 17.94 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3489, allocations: 7.938 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3489, allocations: 30.56 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3489, allocations: 4 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.3491, allocations: 61.47 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.3492, allocations: 85.11 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3493, allocations: 156.4 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3494, allocations: 29.7 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.3494, allocations: 104.1 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.3494, allocations: 11.88 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.3495, allocations: 21.97 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3496, allocations: 314.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.3497, allocations: 7.984 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.3497, allocations: 21.7 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.3497, allocations: 29.66 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3497, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.246e-05/0.3498, allocations: 61.64 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3498, allocations: 7.938 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3499, allocations: 4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3499, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.3499, allocations: 7.938 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3499, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.35, allocations: 7.953 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.35, allocations: 0 / 1.324 GB, free: 15.74 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 9.11e-05/0.3501, allocations: 119.7 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.3501, allocations: 15.88 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.3501, allocations: 11.88 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3501, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3501, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3501, allocations: 4 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.3506, allocations: 462.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3506, allocations: 4.062 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.3506, allocations: 7.938 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3506, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3506, allocations: 3.984 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3506, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3506, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.3507, allocations: 85.78 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3508, allocations: 93.08 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3508, allocations: 0 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.3508, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.3508, allocations: 3.938 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3509, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001031/0.351, allocations: 125.5 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.351, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001919/0.3511, allocations: 11.94 kB / 1.325 GB, free: 14.69 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.0004659/0.3516, allocations: 0.621 MB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.063e-05/0.3517, allocations: 12 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3517, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.3517, allocations: 12.14 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.3519, allocations: 13.44 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3533, allocations: 1.324 MB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3536, allocations: 0.6885 MB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.3537, allocations: 12.42 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3537, allocations: 31.31 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3537, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.3782, allocations: 1.591 MB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.568, allocations: 4.688 kB / 1.329 GB, free: 10.32 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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: 15.285707138944417]