Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001308/0.001308, allocations: 113 kB / 18.94 MB, free: 2.934 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.001586/0.001586, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 8.031 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.32/3.32, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.From_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002064/0.002064, allocations: 65.47 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002484/0.3487, allocations: 0.8418 MB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.3489, allocations: 43.78 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.3489, allocations: 0 / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.349, allocations: 7.875 kB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.3491, allocations: 11.88 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.779e-05/0.3491, allocations: 19.98 kB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3492, allocations: 63.83 kB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3494, allocations: 35.97 kB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.3495, allocations: 27.86 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.3495, allocations: 27.8 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3496, allocations: 8 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3496, allocations: 4 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.3496, allocations: 19.92 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.3496, allocations: 31.75 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3498, allocations: 75.86 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3498, allocations: 4 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3498, allocations: 0 / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.3498, allocations: 3.984 kB / 1.327 GB, free: 0.7188 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.0004695/0.3503, allocations: 302 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3503, allocations: 12.03 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.3504, allocations: 46.67 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3504, allocations: 8.891 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3506, allocations: 130.4 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3506, allocations: 4.375 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3506, allocations: 12.38 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3509, allocations: 95.8 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3509, allocations: 3.938 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3509, allocations: 4 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3509, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.351, allocations: 35.98 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.3516, allocations: 415.8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.3517, allocations: 37.22 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.3517, allocations: 17.81 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.3517, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3518, allocations: 42.56 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3518, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.352, allocations: 57.52 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.352, allocations: 77.11 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3522, allocations: 165.9 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3522, allocations: 25.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3523, allocations: 108.2 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.3523, allocations: 11.95 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.3524, allocations: 13.72 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3525, allocations: 322.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.3525, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.3526, allocations: 17.72 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.3526, allocations: 29.64 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3526, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.743e-05/0.3527, allocations: 57.66 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3527, allocations: 7.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3527, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3527, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.3528, allocations: 11.94 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.3528, allocations: 3.984 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.3529, allocations: 7.953 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.3529, allocations: 0 / 1.329 GB, free: 14.43 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 9.547e-05/0.353, allocations: 118.4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.353, allocations: 11.98 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.353, allocations: 15.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.353, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.353, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.353, allocations: 3.984 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.3535, allocations: 449.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3535, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.3535, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3535, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3535, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3535, allocations: 3.906 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3535, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.3536, allocations: 89.83 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.3537, allocations: 11.95 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3537, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.3537, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.3537, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3537, allocations: 7.938 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001071/0.3538, allocations: 121.3 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3538, allocations: 3.938 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001901/0.354, allocations: 8 kB / 1.33 GB, free: 13.5 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.0004431/0.3545, allocations: 0.6171 MB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.804e-05/0.3545, allocations: 15.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3545, allocations: 160 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.3546, allocations: 11.94 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.3547, allocations: 11.06 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3561, allocations: 1.326 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3565, allocations: 0.6963 MB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.3565, allocations: 8.422 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.3565, allocations: 27.38 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3565, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3858, allocations: 1.682 MB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.61, allocations: 6.125 kB / 1.334 GB, free: 9.082 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.578868837095797]