Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.0008133/0.0008133, 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.0008777/0.0008777, 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.91/0.91, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.75/1.75, allocations: 377.8 MB / 0.6221 GB, free: 8.691 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_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.352e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001267/0.001281, allocations: 0.7973 MB / 0.9817 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.001389, allocations: 43.78 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.001439, allocations: 4 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.001475, allocations: 11.86 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.001553, allocations: 11.88 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.563e-05/0.001589, allocations: 15.98 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.971e-05/0.001678, allocations: 59.84 kB / 0.9819 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.001787, allocations: 31.95 kB / 0.9819 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.001865, allocations: 43.78 kB / 0.982 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.001901, allocations: 23.91 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.001921, allocations: 4 kB / 0.982 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.001929, allocations: 8 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.001946, allocations: 15.92 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.001971, allocations: 23.92 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.402e-05/0.002065, allocations: 75.69 kB / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002067, allocations: 0 / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002067, allocations: 0 / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002071, allocations: 0 / 0.9821 GB, free: 1.422 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.0003198/0.002391, allocations: 298 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.00243, allocations: 8.031 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.00246, allocations: 42.73 kB / 0.9824 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.002483, allocations: 12.84 kB / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.002626, allocations: 141.6 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.002635, allocations: 4.375 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.002644, allocations: 12.31 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.002757, allocations: 83.95 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.002765, allocations: 4.172 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.002777, allocations: 16.3 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.002783, allocations: 8.062 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.002841, allocations: 35.98 kB / 0.9827 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.0032, allocations: 383.8 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.082e-05/0.003251, allocations: 45.34 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.00328, allocations: 17.77 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.003287, allocations: 0 / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.003308, allocations: 42.5 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.003309, allocations: 0 / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.003438, allocations: 45.66 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.003486, allocations: 88.98 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.00359, allocations: 160.8 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.003599, allocations: 25.95 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.003648, allocations: 112 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.003655, allocations: 7.891 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.003681, allocations: 17.72 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.003758, allocations: 322.8 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.00377, allocations: 4 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.003787, allocations: 25.7 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.003818, allocations: 21.72 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.003819, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.534e-05/0.003875, allocations: 65.59 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.003887, allocations: 7.984 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.003891, allocations: 0 / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.003902, allocations: 0 / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.003952, allocations: 11.94 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.003956, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.003971, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.003975, allocations: 4 kB / 0.9841 GB, free: 15.16 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.273e-05/0.004028, allocations: 117.8 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.004051, allocations: 11.91 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.004069, allocations: 19.86 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.004071, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.004076, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.004078, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.004321, allocations: 429.9 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004321, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.004332, allocations: 7.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004333, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.004339, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.004339, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00434, allocations: 8 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.137e-05/0.004392, allocations: 77.88 kB / 0.9847 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.004411, allocations: 15.89 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.004421, allocations: 7.984 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-06/0.004431, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.004441, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-07/0.004442, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.004498, allocations: 121.3 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004498, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001252/0.004624, allocations: 11.94 kB / 0.9849 GB, free: 14.25 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.0002156/0.004839, allocations: 0.621 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.253e-05/0.004902, allocations: 15.94 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.004903, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/0.004909, allocations: 4 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.005022, allocations: 11.91 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008089/0.005831, allocations: 1.348 MB / 0.9868 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.924e-05/0.00588, allocations: 79.33 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.005906, allocations: 8.484 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.005946, allocations: 20.5 kB / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/0.005946, allocations: 0 / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.01955, allocations: 2.233 MB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.706, allocations: 6.328 kB / 0.9891 GB, free: 9.891 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.777481911703944]