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.0009222/0.0009222, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009219/0.0009219, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8781/0.8781, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.742/1.742, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.089e-05, allocations: 9.172 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001585/0.001606, allocations: 0.8022 MB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 8.574e-05/0.001692, allocations: 43.78 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.001727, allocations: 0 / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.001753, allocations: 3.938 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.001809, allocations: 15.81 kB / 0.9818 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.074e-05/0.001839, allocations: 15.98 kB / 0.9818 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.001921, allocations: 67.83 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.002012, allocations: 31.97 kB / 0.9819 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.002084, allocations: 39.84 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.002117, allocations: 19.91 kB / 0.982 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.002136, allocations: 4 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.002143, allocations: 8 kB / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.002161, allocations: 11.92 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.00218, allocations: 19.94 kB / 0.982 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.002267, allocations: 75.69 kB / 0.9821 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00227, allocations: 3.938 kB / 0.9821 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002271, allocations: 4 kB / 0.9821 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002275, allocations: 0 / 0.9821 GB, free: 1.387 MB / 0.9323 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.000264/0.002539, allocations: 302 kB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.00257, allocations: 8.031 kB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.002598, allocations: 38.75 kB / 0.9824 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.937e-05/0.002617, allocations: 12.84 kB / 0.9824 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.002742, allocations: 137.7 kB / 0.9826 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.00275, allocations: 8.312 kB / 0.9826 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.00276, allocations: 8.375 kB / 0.9826 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.002874, allocations: 94.22 kB / 0.9827 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.002881, allocations: 4.188 kB / 0.9827 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.002892, allocations: 8.375 kB / 0.9827 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.002899, allocations: 8.062 kB / 0.9827 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.002955, allocations: 39.92 kB / 0.9827 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.003289, allocations: 383.9 kB / 0.9831 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.093e-05/0.00333, allocations: 45.19 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.003355, allocations: 17.81 kB / 0.9832 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.003361, allocations: 0 / 0.9832 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.003378, allocations: 42.56 kB / 0.9832 GB, free: 100 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 6.12e-07/0.003379, allocations: 0 / 0.9832 GB, free: 100 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001042/0.003483, allocations: 49.59 kB / 0.9833 GB, free: 44 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.003527, allocations: 89.03 kB / 0.9833 GB, free: 15.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.00362, allocations: 156.4 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.003628, allocations: 29.69 kB / 0.9835 GB, free: 15.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.003741, allocations: 100 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.003748, allocations: 7.891 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.003774, allocations: 21.7 kB / 0.9836 GB, free: 15.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.003844, allocations: 318.8 kB / 0.9839 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.003855, allocations: 8.234 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.00387, allocations: 21.72 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.003899, allocations: 29.66 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.003901, allocations: 0 / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.329e-05/0.003954, allocations: 65.58 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.003963, allocations: 4 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.003967, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.003975, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.929e-05/0.004014, allocations: 16 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.004018, allocations: 0 / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.004032, allocations: 0 / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.004035, allocations: 4 kB / 0.9841 GB, free: 15.12 MB / 0.948 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 5.106e-05/0.004086, allocations: 113.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.004109, allocations: 11.91 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.004126, allocations: 19.73 kB / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.004127, allocations: 0 / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.004132, allocations: 3.938 kB / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004134, allocations: 0 / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.004367, allocations: 437.9 kB / 0.9846 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004367, allocations: 0 / 0.9846 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-06/0.004376, allocations: 7.938 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.004376, allocations: 0 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.004383, allocations: 4 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.004385, allocations: 3.984 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004385, allocations: 3.938 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.632e-05/0.004431, allocations: 73.89 kB / 0.9847 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.004448, allocations: 19.88 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.004458, allocations: 4 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.004467, allocations: 4.094 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-06/0.004476, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.004476, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.004529, allocations: 122.1 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004529, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001194/0.004648, allocations: 11.94 kB / 0.9849 GB, free: 14.21 MB / 0.948 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.0002098/0.004858, allocations: 0.6209 MB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.343e-05/0.004912, allocations: 12.09 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.004913, allocations: 4.062 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/0.00492, allocations: 7.938 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.005024, allocations: 15.89 kB / 0.9855 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.005777, allocations: 1.339 MB / 0.9868 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.005819, allocations: 75.33 kB / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.005847, allocations: 12.61 kB / 0.9869 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.005883, allocations: 20.5 kB / 0.9869 GB, free: 11.95 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.005883, allocations: 0 / 0.9869 GB, free: 11.95 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.01951, allocations: 2.233 MB / 0.9891 GB, free: 9.859 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.807, allocations: 4.781 kB / 0.9891 GB, free: 9.859 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.83848094008863]