Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 111 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002222/0.002222, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.191/3.191, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 74.2 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3291, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002389/0.3315, allocations: 0.8357 MB / 1.305 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.3317, allocations: 35.84 kB / 1.305 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.3318, allocations: 0 / 1.305 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.3318, allocations: 7.875 kB / 1.305 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.3319, allocations: 15.88 kB / 1.305 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.209e-05/0.332, allocations: 19.92 kB / 1.305 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3321, allocations: 55.89 kB / 1.305 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3322, allocations: 43.91 kB / 1.305 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.3323, allocations: 27.81 kB / 1.305 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.3324, allocations: 31.78 kB / 1.305 GB, free: 448 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.3324, allocations: 8 kB / 1.305 GB, free: 440 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.3324, allocations: 4 kB / 1.305 GB, free: 436 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.3325, allocations: 15.92 kB / 1.305 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.3325, allocations: 27.81 kB / 1.305 GB, free: 392 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.3327, allocations: 83.8 kB / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3327, allocations: 0 / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3327, allocations: 0 / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3327, allocations: 0 / 1.305 GB, free: 308 kB / 0.9981 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.000691/0.3334, allocations: 391.1 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.668e-05/0.3335, allocations: 8.625 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.3335, allocations: 42.73 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3336, allocations: 8.891 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3339, allocations: 192.2 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3339, allocations: 4.375 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3339, allocations: 12.31 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.3342, allocations: 91.95 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3342, allocations: 7.875 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3342, allocations: 7.984 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3343, allocations: 4 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.37e-05/0.3344, allocations: 35.92 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.3352, allocations: 436.7 kB / 1.306 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.3353, allocations: 41.25 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.3353, allocations: 17.78 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.3353, allocations: 0 / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.3354, allocations: 38.55 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3354, allocations: 0 / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002175/0.3356, allocations: 57.53 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.3356, allocations: 77.11 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3358, allocations: 161.3 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3359, allocations: 25.7 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.336, allocations: 112 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.336, allocations: 7.953 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.336, allocations: 9.719 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003051/0.3363, allocations: 327.1 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.3363, allocations: 8 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.3364, allocations: 17.66 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.3364, allocations: 29.7 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3364, allocations: 3.938 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001967/0.3366, allocations: 61.59 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3366, allocations: 7.938 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3367, allocations: 0 / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3367, allocations: 0 / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.3367, allocations: 11.98 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3368, allocations: 0 / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.3368, allocations: 11.95 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3368, allocations: 4 kB / 1.307 GB, free: 13.8 MB / 1.014 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.0001189/0.3369, allocations: 117.8 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.337, allocations: 15.95 kB / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.337, allocations: 11.86 kB / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.337, allocations: 0 / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.337, allocations: 0 / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.337, allocations: 3.938 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.3376, allocations: 470.8 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3376, allocations: 0 / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.3376, allocations: 4 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3376, allocations: 4.062 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3376, allocations: 0 / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.3376, allocations: 7.938 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3376, allocations: 0 / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.3377, allocations: 77.88 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.3378, allocations: 93 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3378, allocations: 4.031 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.3378, allocations: 4.078 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.3378, allocations: 3.984 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3378, allocations: 4 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3379, allocations: 122.3 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3379, allocations: 0 / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002155/0.3382, allocations: 11.95 kB / 1.308 GB, free: 12.75 MB / 1.014 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.0004899/0.3386, allocations: 0.6171 MB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3388, allocations: 19.94 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3388, allocations: 0 / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.3388, allocations: 8 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.3389, allocations: 6.156 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3407, allocations: 1.334 MB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.3411, allocations: 0.7006 MB / 1.311 GB, free: 9.914 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.658e-05/0.3412, allocations: 8.438 kB / 1.311 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.3412, allocations: 27.42 kB / 1.311 GB, free: 9.879 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.3412, allocations: 0 / 1.311 GB, free: 9.879 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.3694, allocations: 1.569 MB / 1.312 GB, free: 8.418 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.53, allocations: 21.02 kB / 1.312 GB, free: 8.398 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.196923942305148]