Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 111.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 195.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437.1 MB / 0.7171 GB, free: 4.062 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9458/0.9479, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001843/0.9498, allocations: 0.8313 MB / 1.176 GB, free: 16.96 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.9499, allocations: 43.83 kB / 1.176 GB, free: 16.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.95, allocations: 2.75 kB / 1.176 GB, free: 16.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.95, allocations: 5.156 kB / 1.176 GB, free: 16.92 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.9501, allocations: 9.094 kB / 1.176 GB, free: 16.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.023e-05/0.9501, allocations: 17 kB / 1.176 GB, free: 16.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.9503, allocations: 67.02 kB / 1.176 GB, free: 16.87 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.9504, allocations: 41.97 kB / 1.176 GB, free: 16.85 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.9505, allocations: 26.94 kB / 1.176 GB, free: 16.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.9505, allocations: 25.92 kB / 1.176 GB, free: 16.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.9505, allocations: 6.469 kB / 1.176 GB, free: 16.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.9506, allocations: 9.281 kB / 1.176 GB, free: 16.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.9506, allocations: 21.09 kB / 1.176 GB, free: 16.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.9506, allocations: 28.48 kB / 1.176 GB, free: 16.78 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.9508, allocations: 80.28 kB / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.9508, allocations: 2.391 kB / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9508, allocations: 0 / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.9508, allocations: 0 / 1.176 GB, free: 16.74 MB / 0.92 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.0003642/0.9512, allocations: 382.5 kB / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.9512, allocations: 13.62 kB / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.9512, allocations: 39.19 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.9513, allocations: 17.66 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.9515, allocations: 200.9 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.9515, allocations: 3.312 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.9515, allocations: 10.03 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.9516, allocations: 88.31 kB / 1.177 GB, free: 16.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.9517, allocations: 5.469 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.9517, allocations: 4 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9517, allocations: 2.094 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.9518, allocations: 40.19 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.9522, allocations: 438.4 kB / 1.177 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.9523, allocations: 41.39 kB / 1.177 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.9523, allocations: 28.39 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.9523, allocations: 1.125 kB / 1.177 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.9523, allocations: 32.52 kB / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.9523, allocations: 0 / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001775/0.9525, allocations: 60.62 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.9526, allocations: 78.45 kB / 1.177 GB, free: 15.31 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.9527, allocations: 160.6 kB / 1.177 GB, free: 15.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.9527, allocations: 26.41 kB / 1.177 GB, free: 15.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.9528, allocations: 103.5 kB / 1.178 GB, free: 15.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.9528, allocations: 6.219 kB / 1.178 GB, free: 15.06 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.9528, allocations: 17.98 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.9529, allocations: 320.9 kB / 1.178 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.9529, allocations: 7.766 kB / 1.178 GB, free: 14.72 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.953, allocations: 18.73 kB / 1.178 GB, free: 14.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.953, allocations: 27.58 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.953, allocations: 0 / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.905e-05/0.9531, allocations: 66.22 kB / 1.178 GB, free: 14.63 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9531, allocations: 10.42 kB / 1.178 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9531, allocations: 0 / 1.178 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.9531, allocations: 8.906 kB / 1.178 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.9532, allocations: 6.297 kB / 1.178 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.9532, allocations: 5.469 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.9533, allocations: 5.344 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.9533, allocations: 2.125 kB / 1.178 GB, free: 14.61 MB / 0.92 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.604e-05/0.9533, allocations: 116.6 kB / 1.178 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.9534, allocations: 12.62 kB / 1.178 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.9534, allocations: 8.094 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9534, allocations: 1.156 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9534, allocations: 1.219 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.9534, allocations: 3.938 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.9537, allocations: 475.1 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9538, allocations: 0.8125 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.9538, allocations: 8.516 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9538, allocations: 96 / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.9538, allocations: 6.203 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.9538, allocations: 0 / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9538, allocations: 1.438 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.497e-05/0.9539, allocations: 85.11 kB / 1.179 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.9539, allocations: 85.22 kB / 1.179 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.9539, allocations: 1.672 kB / 1.179 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.954, allocations: 1.062 kB / 1.179 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.954, allocations: 1.953 kB / 1.179 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.954, allocations: 1.094 kB / 1.179 GB, free: 13.79 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.9541, allocations: 134.1 kB / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9541, allocations: 0 / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001848/0.9543, allocations: 6.469 kB / 1.179 GB, free: 13.69 MB / 0.92 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.0002626/0.9545, allocations: 0.6142 MB / 1.18 GB, free: 13.08 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.9546, allocations: 20.44 kB / 1.18 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9546, allocations: 0 / 1.18 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.9547, allocations: 8.5 kB / 1.18 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.9548, allocations: 11.81 kB / 1.18 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.9558, allocations: 1.34 MB / 1.181 GB, free: 11.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.956, allocations: 0.6928 MB / 1.182 GB, free: 11.13 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.956, allocations: 7.016 kB / 1.182 GB, free: 11.13 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.9561, allocations: 29.25 kB / 1.182 GB, free: 11.11 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.9561, allocations: 0 / 1.182 GB, free: 11.11 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.98, allocations: 1.572 MB / 1.183 GB, free: 10.72 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/9.09, allocations: 10.83 kB / 1.183 GB, free: 10.71 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.051580887986347]