Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001992/0.001992, allocations: 107.5 kB / 16.45 MB, free: 6.504 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.002122/0.002122, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.98 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.162/3.162, allocations: 497.2 MB / 0.7811 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 75.34 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 173.9 MB / 1.304 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002244/0.3429, allocations: 0.8296 MB / 1.305 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.343, allocations: 39.78 kB / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.343, allocations: 4 kB / 1.305 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.3431, allocations: 7.875 kB / 1.305 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.549e-05/0.3432, allocations: 11.86 kB / 1.305 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.281e-05/0.3432, allocations: 23.98 kB / 1.305 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3434, allocations: 59.84 kB / 1.305 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3435, allocations: 27.98 kB / 1.305 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.3436, allocations: 31.84 kB / 1.305 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.3436, allocations: 35.78 kB / 1.305 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3437, allocations: 4 kB / 1.305 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.3437, allocations: 8 kB / 1.305 GB, free: 500 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.3437, allocations: 7.938 kB / 1.305 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.3438, allocations: 39.73 kB / 1.305 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.3439, allocations: 75.86 kB / 1.305 GB, free: 376 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3439, allocations: 4 kB / 1.305 GB, free: 372 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.906e-06/0.3439, allocations: 4 kB / 1.305 GB, free: 368 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.3439, allocations: 0 / 1.305 GB, free: 368 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.0006865/0.3446, allocations: 383.1 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.3447, allocations: 12.62 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.3447, allocations: 34.75 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.3448, allocations: 12.89 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3451, allocations: 192.2 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3451, allocations: 16.3 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3451, allocations: 8.375 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3454, allocations: 91.95 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3454, allocations: 3.938 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3454, allocations: 4 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3454, allocations: 0 / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.3455, allocations: 39.86 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.3462, allocations: 440.6 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.3463, allocations: 37.28 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.3464, allocations: 21.84 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.3464, allocations: 0 / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3464, allocations: 34.56 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.3464, allocations: 0 / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002873/0.3467, allocations: 61.52 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.3468, allocations: 81.05 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.3471, allocations: 159.7 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3471, allocations: 25.7 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.3472, allocations: 108.2 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.3472, allocations: 15.94 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3473, allocations: 13.72 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002349/0.3475, allocations: 322.8 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.3475, allocations: 4 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.3475, allocations: 17.72 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.231e-05/0.3476, allocations: 29.72 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3476, allocations: 0 / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.82e-05/0.3477, allocations: 57.58 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.3477, allocations: 11.94 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3477, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3478, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.3478, allocations: 4 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3478, allocations: 4 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.3479, allocations: 3.953 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3479, allocations: 8 kB / 1.307 GB, free: 13.88 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.0002047/0.3481, allocations: 121.8 kB / 1.307 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.3481, allocations: 15.89 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.3482, allocations: 11.81 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3482, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3482, allocations: 8 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3482, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.3488, allocations: 474.8 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3488, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.3488, allocations: 7.984 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3488, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3488, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3488, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3488, allocations: 3.984 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.3489, allocations: 85.89 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.349, allocations: 92.98 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.349, allocations: 7.938 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.3491, allocations: 0 / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.3491, allocations: 0 / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3491, allocations: 0 / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001258/0.3492, allocations: 121.1 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3492, allocations: 0 / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002281/0.3494, allocations: 11.95 kB / 1.308 GB, free: 12.82 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.000637/0.3501, allocations: 0.6172 MB / 1.309 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3502, allocations: 19.92 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3502, allocations: 160 / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.3502, allocations: 8 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.3504, allocations: 9.25 kB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3521, allocations: 1.336 MB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3524, allocations: 0.6929 MB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.3525, allocations: 12.5 kB / 1.311 GB, free: 9.969 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.3525, allocations: 23.44 kB / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/0.3525, allocations: 0 / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3781, allocations: 1.583 MB / 1.312 GB, free: 8.465 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.613, allocations: 1.172 kB / 1.312 GB, free: 8.465 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.335484419949353]