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.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.0007864/0.0007864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008162/0.0008162, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8906/0.8906, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.793/1.793, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.393e-06/1.393e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.247e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001232/0.001244, allocations: 0.7829 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001023/0.001347, allocations: 39.78 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.001398, allocations: 0 / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.00143, allocations: 15.81 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.001503, allocations: 11.92 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.739e-05/0.00154, allocations: 15.98 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.001629, allocations: 63.77 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.001744, allocations: 31.98 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.001825, allocations: 39.89 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.001864, allocations: 23.84 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.001888, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-06/0.001894, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.00191, allocations: 11.94 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.001941, allocations: 27.91 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.002043, allocations: 67.75 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002045, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002046, allocations: 3.938 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.00205, allocations: 4 kB / 1.001 GB, free: 12.34 MB / 0.9636 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.0003372/0.002387, allocations: 306 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.002428, allocations: 12.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.00246, allocations: 38.73 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.002481, allocations: 12.89 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.002635, allocations: 133.6 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.002646, allocations: 8.375 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.002657, allocations: 8.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.002781, allocations: 95.84 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.002789, allocations: 192 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.002798, allocations: 4.375 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.002805, allocations: 12.12 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.002869, allocations: 39.92 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.003265, allocations: 391.7 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.003315, allocations: 41.28 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.003342, allocations: 17.84 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.003349, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.003368, allocations: 34.56 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.003369, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.003504, allocations: 61.58 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.003539, allocations: 84.98 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.003637, allocations: 156.1 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.003646, allocations: 29.7 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.003695, allocations: 104 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.004e-06/0.003702, allocations: 7.953 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.003725, allocations: 17.66 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.003794, allocations: 322.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.003806, allocations: 4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.003822, allocations: 17.97 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.003856, allocations: 33.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003858, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.21e-05/0.00391, allocations: 61.53 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.003922, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.003927, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.003938, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.003986, allocations: 11.92 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.00399, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.004009, allocations: 15.95 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004013, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 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 5.392e-05/0.004067, allocations: 117.8 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.004087, allocations: 7.953 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.004104, allocations: 11.81 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004105, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.00411, allocations: 7.922 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.004114, allocations: 4 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.004352, allocations: 429.9 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004353, allocations: 4.062 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.004364, allocations: 7.938 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.004365, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.004369, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00437, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.004371, allocations: 3.984 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.71e-05/0.004418, allocations: 78.72 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.004437, allocations: 19.84 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.004447, allocations: 7.938 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-06/0.004456, allocations: 0 / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.004469, allocations: 12.02 kB / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-07/0.00447, allocations: 0 / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.004524, allocations: 117.5 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.004524, allocations: 0 / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001164/0.00464, allocations: 8 kB / 1.004 GB, free: 9.156 MB / 0.9636 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.0003375/0.004978, allocations: 0.6093 MB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.366e-05/0.005041, allocations: 19.92 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005042, allocations: 0 / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-06/0.005048, allocations: 8.156 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.005166, allocations: 10.34 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.005942, allocations: 1.351 MB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.005984, allocations: 79.31 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.006008, allocations: 12.56 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.006047, allocations: 28.61 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.006047, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.02042, allocations: 2.224 MB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/6.5, allocations: 6.016 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.568409156985581]