Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001894/0.001894, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002918/0.002918, allocations: 213.9 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.305/3.305, allocations: 0.4893 GB / 0.7943 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 70.66 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.336, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002102/0.3381, allocations: 0.7995 MB / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001244/0.3383, allocations: 39.84 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.3383, allocations: 0 / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.3384, allocations: 15.86 kB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.3384, allocations: 11.88 kB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.047e-05/0.3385, allocations: 19.98 kB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3386, allocations: 59.83 kB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3387, allocations: 31.98 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.3388, allocations: 31.8 kB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.3389, allocations: 31.78 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.3389, allocations: 4 kB / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3389, allocations: 8 kB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.3389, allocations: 15.92 kB / 1.326 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.339, allocations: 19.88 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3391, allocations: 87.8 kB / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3391, allocations: 0 / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3391, allocations: 0 / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.3391, allocations: 3.984 kB / 1.326 GB, free: 1.234 MB / 1.014 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.0004361/0.3396, allocations: 302 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3396, allocations: 8.031 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.3396, allocations: 46.73 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.3397, allocations: 8.891 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3399, allocations: 138.4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3399, allocations: 4.281 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3399, allocations: 16.38 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3401, allocations: 89.77 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3401, allocations: 3.938 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3401, allocations: 8 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3401, allocations: 3.984 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.3402, allocations: 39.92 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.3408, allocations: 391.8 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.3408, allocations: 41.25 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.3409, allocations: 17.78 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.3409, allocations: 4 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3409, allocations: 34.56 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3409, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.3411, allocations: 57.52 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3412, allocations: 77.11 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3413, allocations: 165.2 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.3414, allocations: 29.7 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.3414, allocations: 104 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.3415, allocations: 8.188 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3415, allocations: 21.72 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3416, allocations: 322.8 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.3416, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.3417, allocations: 25.66 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.3417, allocations: 25.7 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3417, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.164e-05/0.3418, allocations: 57.59 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3418, allocations: 11.94 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3418, allocations: 4.062 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3419, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.3419, allocations: 11.98 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3419, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.342, allocations: 3.953 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.342, allocations: 4 kB / 1.328 GB, free: 14.96 MB / 1.029 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.73e-05/0.342, allocations: 118.3 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.3421, allocations: 11.89 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.3421, allocations: 7.812 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3421, allocations: 4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3421, allocations: 7.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3421, allocations: 3.984 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.3425, allocations: 433.9 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3426, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.3426, allocations: 7.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3426, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3426, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3426, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3426, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.3427, allocations: 89.89 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.3427, allocations: 7.953 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3427, allocations: 4 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.3428, allocations: 3.938 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.3428, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3428, allocations: 3.984 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.993e-05/0.3429, allocations: 121.3 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3429, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001961/0.3431, allocations: 8 kB / 1.329 GB, free: 14.04 MB / 1.029 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.0003982/0.3435, allocations: 0.621 MB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.3436, allocations: 19.92 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3436, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.3436, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.3437, allocations: 8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.345, allocations: 1.33 MB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.3451, allocations: 87.41 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.3452, allocations: 8.422 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.3452, allocations: 23.42 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3452, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.3727, allocations: 2.099 MB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 6.406 kB / 1.333 GB, free: 9.832 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.860590618103743]