Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.0007916/0.0007916, 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.0008036/0.0008036, allocations: 165.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.9212/0.9212, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.743/1.743, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.85e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001511/0.001529, allocations: 0.8023 MB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.475e-05/0.001624, allocations: 39.78 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.001665, allocations: 4 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.001699, allocations: 11.86 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.001769, allocations: 7.875 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.497e-05/0.001804, allocations: 19.98 kB / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.521e-05/0.00189, allocations: 63.83 kB / 0.9819 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.001998, allocations: 31.97 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.002072, allocations: 39.84 kB / 0.982 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.00211, allocations: 23.91 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.00213, allocations: 4 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.002137, allocations: 8 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.002153, allocations: 11.92 kB / 0.982 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.002178, allocations: 19.94 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.314e-05/0.002271, allocations: 79.62 kB / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002273, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002274, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.002278, allocations: 4 kB / 0.9821 GB, free: 1.414 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.0003399/0.002618, allocations: 302 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.002655, allocations: 8.031 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.002686, allocations: 38.75 kB / 0.9824 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.002707, allocations: 12.84 kB / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.002848, allocations: 137.5 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.002859, allocations: 12.38 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.002869, allocations: 8.375 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.002977, allocations: 91.94 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.002984, allocations: 192 / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.002993, allocations: 8.375 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.003, allocations: 12.06 kB / 0.9827 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/0.003052, allocations: 39.86 kB / 0.9827 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.003576, allocations: 383.9 kB / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/0.003638, allocations: 41.3 kB / 0.9831 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.003666, allocations: 21.72 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.003673, allocations: 0 / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.003693, allocations: 34.56 kB / 0.9832 GB, free: 132 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.003695, allocations: 4 kB / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.003854, allocations: 53.59 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.003913, allocations: 85.09 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.004029, allocations: 152.3 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.00404, allocations: 25.7 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.004106, allocations: 108 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.004117, allocations: 15.88 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.004147, allocations: 21.7 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.00422, allocations: 314.8 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.004244, allocations: 4.25 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.004267, allocations: 33.64 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.004307, allocations: 21.72 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004309, allocations: 0 / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.337e-05/0.004383, allocations: 61.58 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.004399, allocations: 8 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.004405, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.004417, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.004484, allocations: 7.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.004491, allocations: 8.062 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.004509, allocations: 0 / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.004513, allocations: 4 kB / 0.9841 GB, free: 15.14 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.82e-05/0.004572, allocations: 109.8 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.004592, allocations: 12 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.004611, allocations: 15.78 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.004614, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.004621, allocations: 7.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.004623, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.004895, allocations: 433.9 kB / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004896, allocations: 4.062 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.004911, allocations: 11.88 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.004913, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.004919, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.004921, allocations: 4 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.004923, allocations: 7.922 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.293e-05/0.004976, allocations: 69.95 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.005, allocations: 15.88 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.005012, allocations: 8 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.005023, allocations: 4 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.005034, allocations: 4.031 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.005035, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.005093, allocations: 122.1 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005093, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001352/0.005228, allocations: 11.94 kB / 0.9849 GB, free: 14.23 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.0002588/0.005487, allocations: 0.617 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.83e-05/0.005565, allocations: 23.94 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.005567, allocations: 4.156 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-06/0.005573, allocations: 4 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.005699, allocations: 11.91 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.00658, allocations: 1.339 MB / 0.9869 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.006628, allocations: 75.33 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.006655, allocations: 8.609 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.006695, allocations: 24.5 kB / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.006696, allocations: 0 / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.02364, allocations: 2.227 MB / 0.9891 GB, free: 9.883 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.632, allocations: 6.703 kB / 0.9891 GB, free: 9.879 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.69012893550098]