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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.001229, allocations: 190.8 kB / 16.14 MB, free: 6.652 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.406/2.406, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.27 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.222, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001799/0.2239, allocations: 0.8919 MB / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.057e-05/0.224, allocations: 39.78 kB / 1.053 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.224, allocations: 4 kB / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.2241, allocations: 3.938 kB / 1.053 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.2241, allocations: 3.938 kB / 1.053 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.723e-05/0.2242, allocations: 19.98 kB / 1.053 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.709e-05/0.2242, allocations: 55.84 kB / 1.053 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2244, allocations: 43.97 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.2244, allocations: 23.81 kB / 1.053 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.2245, allocations: 27.84 kB / 1.053 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2245, allocations: 4 kB / 1.053 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.2245, allocations: 8 kB / 1.053 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.2245, allocations: 11.94 kB / 1.053 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.2246, allocations: 43.72 kB / 1.053 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.798e-05/0.2246, allocations: 60 kB / 1.053 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2246, allocations: 0 / 1.053 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2246, allocations: 0 / 1.053 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.2247, allocations: 0 / 1.053 GB, free: 6.957 MB / 0.8106 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.0003309/0.225, allocations: 379.3 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.225, allocations: 11.97 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.2251, allocations: 42.73 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.2251, allocations: 12.84 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2253, allocations: 188.2 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.2253, allocations: 8.281 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2253, allocations: 8.375 kB / 1.054 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2254, allocations: 91.95 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2254, allocations: 3.938 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2255, allocations: 3.938 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2255, allocations: 15.86 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.2255, allocations: 39.98 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.226, allocations: 436.5 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.226, allocations: 41.34 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.2261, allocations: 17.78 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.2261, allocations: 4 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.2261, allocations: 38.55 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2261, allocations: 3.938 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.2262, allocations: 49.55 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.2263, allocations: 85.3 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2264, allocations: 168.2 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2264, allocations: 25.7 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.2265, allocations: 100 kB / 1.055 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.2265, allocations: 7.906 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.2265, allocations: 17.72 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.2266, allocations: 318.8 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.2266, allocations: 4 kB / 1.055 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.2266, allocations: 21.72 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.2267, allocations: 29.7 kB / 1.055 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2267, allocations: 4 kB / 1.055 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.97e-05/0.2268, allocations: 53.55 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2268, allocations: 7.938 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2268, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2268, allocations: 8.062 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.2268, allocations: 7.984 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2269, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.2269, allocations: 11.84 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.2269, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 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 6.23e-05/0.227, allocations: 117.8 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.227, allocations: 11.94 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.227, allocations: 15.86 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.227, allocations: 3.984 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.227, allocations: 4 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2271, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2274, allocations: 474.7 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2274, allocations: 0 / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.2274, allocations: 4 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2274, allocations: 0 / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2274, allocations: 4 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2274, allocations: 4.062 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2274, allocations: 3.938 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.823e-05/0.2275, allocations: 77.83 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.2275, allocations: 88.95 kB / 1.056 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2276, allocations: 4 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.2276, allocations: 0 / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.2276, allocations: 12.02 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2276, allocations: 0 / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.2277, allocations: 121.9 kB / 1.056 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2277, allocations: 0 / 1.056 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001738/0.2279, allocations: 8 kB / 1.056 GB, free: 3.418 MB / 0.8106 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.0002796/0.2282, allocations: 0.6132 MB / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.36e-05/0.2282, allocations: 19.94 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2282, allocations: 0 / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-06/0.2282, allocations: 4 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.2284, allocations: 9.25 kB / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.2293, allocations: 1.354 MB / 1.058 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.2295, allocations: 0.6926 MB / 1.059 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.2296, allocations: 4.438 kB / 1.059 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.2296, allocations: 27.42 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2296, allocations: 0 / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01003/0.2396, allocations: 1.416 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.2399, allocations: 216.1 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.683, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 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=50 --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