Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001873/0.001873, 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.002989/0.002989, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.816 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.297/3.297, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.002108/0.002108, allocations: 67.86 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, 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_quad): time 0.002393/0.3438, allocations: 0.7997 MB / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.344, allocations: 39.78 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.3441, allocations: 4 kB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.267e-05/0.3441, allocations: 11.86 kB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.3443, allocations: 3.938 kB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.571e-05/0.3443, allocations: 23.98 kB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3445, allocations: 67.77 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.3447, allocations: 27.98 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3449, allocations: 31.86 kB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.3449, allocations: 23.84 kB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.345, allocations: 4 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.345, allocations: 8 kB / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.345, allocations: 11.94 kB / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.3451, allocations: 27.8 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.3453, allocations: 83.8 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3453, allocations: 4 kB / 1.326 GB, free: 1.242 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.587e-06/0.3453, allocations: 0 / 1.326 GB, free: 1.242 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3453, allocations: 0 / 1.326 GB, free: 1.242 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.0006751/0.346, allocations: 306 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.16e-05/0.346, allocations: 8.031 kB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.172e-05/0.3461, allocations: 38.75 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.3462, allocations: 16.83 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3464, allocations: 138.3 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3464, allocations: 8.281 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3465, allocations: 8.375 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3467, allocations: 97.66 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3467, allocations: 7.938 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3467, allocations: 4 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3467, allocations: 0 / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.678e-05/0.3468, allocations: 39.92 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.3475, allocations: 387.8 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.3476, allocations: 45.33 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.3476, allocations: 17.78 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.3477, allocations: 4 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3477, allocations: 34.56 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3477, allocations: 3.938 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002215/0.3479, allocations: 61.47 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.348, allocations: 81.11 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3482, allocations: 160.7 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3482, allocations: 29.64 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.3483, allocations: 100 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.3483, allocations: 11.94 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3483, allocations: 13.72 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3485, allocations: 323.1 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.3485, allocations: 11.98 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.3486, allocations: 17.7 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.3486, allocations: 25.72 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3486, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.309e-05/0.3487, allocations: 61.58 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3487, allocations: 7.938 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3487, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3488, allocations: 4.062 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.3488, allocations: 8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3488, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.3489, allocations: 7.953 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.3489, allocations: 0 / 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 0.000109/0.349, allocations: 126.2 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.349, allocations: 11.89 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.3491, allocations: 11.81 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3491, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3491, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3491, allocations: 3.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.3495, allocations: 441.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3495, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.3495, allocations: 3.984 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3495, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3495, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3495, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3496, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.3497, allocations: 81.89 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.3497, allocations: 15.88 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3497, allocations: 4.094 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.3497, allocations: 8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.3497, allocations: 3.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3498, allocations: 4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000101/0.3499, allocations: 121.1 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3499, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001889/0.35, allocations: 4 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.0004732/0.3505, allocations: 0.6132 MB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.3506, allocations: 19.97 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3506, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.3506, allocations: 7.984 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.0001685/0.3508, allocations: 9.031 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.001445/0.3522, allocations: 1.336 MB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.08e-05/0.3523, allocations: 83.38 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.3523, allocations: 12.42 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.3524, allocations: 15.44 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 9.31e-07/0.3524, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3827, allocations: 2.092 MB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.08, allocations: 4.25 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_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.918627908919007]