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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004278/0.004278, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001191/0.001192, allocations: 195.6 kB / 16.67 MB, free: 6.352 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.606/2.606, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 63.89 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2663, allocations: 162.3 MB / 1.242 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001777/0.2681, allocations: 0.8332 MB / 1.243 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.764e-05/0.2682, allocations: 39.8 kB / 1.243 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.2682, allocations: 4 kB / 1.243 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.2683, allocations: 7.875 kB / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.2683, allocations: 11.86 kB / 1.243 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.226e-05/0.2684, allocations: 15.98 kB / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.2685, allocations: 67.83 kB / 1.243 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2686, allocations: 39.97 kB / 1.243 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.2687, allocations: 27.86 kB / 1.243 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.2687, allocations: 27.8 kB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2688, allocations: 4 kB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.2688, allocations: 12 kB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.2688, allocations: 15.92 kB / 1.243 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.2688, allocations: 31.75 kB / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.269, allocations: 79.62 kB / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.269, allocations: 0 / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.269, allocations: 0 / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.269, allocations: 0 / 1.243 GB, free: 8.57 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.0004061/0.2694, allocations: 383 kB / 1.243 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2694, allocations: 8.031 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.2695, allocations: 50.67 kB / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.2695, allocations: 8.891 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.2697, allocations: 184.3 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.2697, allocations: 12.36 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.2697, allocations: 8.375 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.2699, allocations: 91.89 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2699, allocations: 3.938 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2699, allocations: 4 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2699, allocations: 8 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.27, allocations: 35.98 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.2705, allocations: 440.6 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.2706, allocations: 33.28 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.2706, allocations: 29.73 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.2706, allocations: 0 / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2707, allocations: 30.56 kB / 1.244 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2707, allocations: 4 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001455/0.2708, allocations: 53.53 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2709, allocations: 89.34 kB / 1.244 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.271, allocations: 156.6 kB / 1.245 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2711, allocations: 25.7 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.2711, allocations: 104.1 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.2711, allocations: 3.953 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.2712, allocations: 21.7 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2713, allocations: 318.8 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.2713, allocations: 11.92 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.2714, allocations: 25.7 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.2714, allocations: 25.66 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2714, allocations: 0 / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/0.2715, allocations: 61.64 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2715, allocations: 7.938 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2715, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2715, allocations: 4 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.2716, allocations: 12 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2716, allocations: 0 / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.2716, allocations: 11.89 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.2716, allocations: 0 / 1.245 GB, free: 6.078 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 7.425e-05/0.2717, allocations: 113.8 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.2718, allocations: 15.89 kB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.2718, allocations: 19.8 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2718, allocations: 0 / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2718, allocations: 0 / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2718, allocations: 4 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.2722, allocations: 470.7 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2722, allocations: 0 / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.2722, allocations: 4 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2723, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.2723, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2723, allocations: 4 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2723, allocations: 8.047 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.091e-05/0.2724, allocations: 81.83 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.2724, allocations: 89.05 kB / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.2724, allocations: 0 / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.2725, allocations: 0 / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.2725, allocations: 0 / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.2725, allocations: 8.031 kB / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.2726, allocations: 125.7 kB / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2726, allocations: 0 / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001704/0.2728, allocations: 4 kB / 1.246 GB, free: 5.035 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.0003833/0.2731, allocations: 0.6215 MB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.2732, allocations: 16 kB / 1.247 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2732, allocations: 3.938 kB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.2733, allocations: 7.938 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2734, allocations: 11.98 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2745, allocations: 1.334 MB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2748, allocations: 0.6885 MB / 1.249 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.2749, allocations: 12.36 kB / 1.249 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.2749, allocations: 23.44 kB / 1.249 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2749, allocations: 0 / 1.249 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.981/4.256, allocations: 1.585 MB / 1.25 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/13.12, allocations: 11.45 kB / 1.25 GB, free: 0.6797 MB / 0.9981 GB (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 --timeout=400 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches