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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007593/0.007593, allocations: 98.8 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 195.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.83 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.289, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001902/0.291, allocations: 0.8254 MB / 1.242 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.2911, allocations: 39.78 kB / 1.242 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.2911, allocations: 4 kB / 1.242 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.2912, allocations: 11.88 kB / 1.242 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.2913, allocations: 11.86 kB / 1.242 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.085e-05/0.2913, allocations: 19.98 kB / 1.242 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.2914, allocations: 59.84 kB / 1.242 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2916, allocations: 39.97 kB / 1.242 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.2916, allocations: 27.86 kB / 1.242 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.2917, allocations: 35.77 kB / 1.243 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2917, allocations: 4 kB / 1.243 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.2917, allocations: 8 kB / 1.243 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.2918, allocations: 15.94 kB / 1.243 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.2918, allocations: 35.73 kB / 1.243 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.2919, allocations: 67.66 kB / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2919, allocations: 0 / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.292, allocations: 0 / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.292, allocations: 4 kB / 1.243 GB, free: 8.98 MB / 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.000503/0.2925, allocations: 391 kB / 1.243 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2925, allocations: 8.031 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.2926, allocations: 38.75 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.2926, allocations: 16.78 kB / 1.243 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.2928, allocations: 192.2 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2928, allocations: 8.375 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2929, allocations: 8.375 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.293, allocations: 97.3 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2931, allocations: 3.938 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2931, allocations: 0 / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2931, allocations: 4 kB / 1.243 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.2932, allocations: 35.98 kB / 1.243 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.2937, allocations: 440.7 kB / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.2938, allocations: 37.22 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.2938, allocations: 21.81 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.2938, allocations: 0 / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2939, allocations: 34.56 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2939, allocations: 4 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.294, allocations: 57.52 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2941, allocations: 77.11 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.2943, allocations: 165.4 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2943, allocations: 25.7 kB / 1.244 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.2944, allocations: 96.09 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.2944, allocations: 11.94 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.2944, allocations: 25.91 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2946, allocations: 318.8 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.2946, allocations: 8 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.2946, allocations: 17.72 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.2947, allocations: 25.66 kB / 1.245 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2947, allocations: 0 / 1.245 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.303e-05/0.2948, allocations: 69.59 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2948, allocations: 11.88 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2948, allocations: 0 / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2948, allocations: 4 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.2949, allocations: 4 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2949, allocations: 0 / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.2949, allocations: 7.938 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.2949, allocations: 0 / 1.245 GB, free: 6.492 MB / 0.9981 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 8.683e-05/0.295, allocations: 122.4 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.2951, allocations: 11.98 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.2951, allocations: 15.86 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2951, allocations: 0 / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2951, allocations: 0 / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2951, allocations: 3.938 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.2955, allocations: 474.7 kB / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2955, allocations: 64 / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.2956, allocations: 11.98 kB / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2956, allocations: 0 / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2956, allocations: 8 kB / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2956, allocations: 0 / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2956, allocations: 0 / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.775e-05/0.2957, allocations: 77.83 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.2958, allocations: 93.08 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2958, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.2958, allocations: 4 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.2958, allocations: 4 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.2958, allocations: 0 / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.593e-05/0.2959, allocations: 119.2 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2959, allocations: 0 / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000197/0.2961, allocations: 8 kB / 1.246 GB, free: 5.441 MB / 0.9981 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.0004173/0.2966, allocations: 0.6209 MB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.2967, allocations: 19.98 kB / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2967, allocations: 0 / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.2967, allocations: 8.156 kB / 1.246 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.2968, allocations: 12.06 kB / 1.246 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2982, allocations: 1.337 MB / 1.248 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2985, allocations: 0.6923 MB / 1.248 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.2986, allocations: 12.42 kB / 1.248 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.2986, allocations: 19.44 kB / 1.248 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.2986, allocations: 0 / 1.248 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.32, allocations: 1.578 MB / 1.25 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.963, allocations: 7.812 kB / 1.25 GB, free: 1.09 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches