Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001186/0.001186, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001139/0.001139, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7535, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001701/0.7552, allocations: 0.8398 MB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.669e-05/0.7553, allocations: 49.2 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.7554, allocations: 1.656 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.7554, allocations: 9.75 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.7555, allocations: 9.719 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.316e-05/0.7555, allocations: 21.05 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.7556, allocations: 59 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.7557, allocations: 36.05 kB / 1.272 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.7558, allocations: 29.84 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.7558, allocations: 26.67 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.7558, allocations: 6.438 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.7558, allocations: 6.094 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.7559, allocations: 21.28 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.7559, allocations: 31.45 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.756, allocations: 74.12 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.756, allocations: 0 / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.756, allocations: 0 / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.756, allocations: 4.75 kB / 1.273 GB, free: 6.961 MB / 0.9981 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.0003089/0.7563, allocations: 379.3 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.7563, allocations: 18.23 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.657e-05/0.7564, allocations: 38.7 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.7564, allocations: 18.72 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.7565, allocations: 191.8 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.7565, allocations: 3.688 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.7566, allocations: 9.344 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.7567, allocations: 96.91 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7567, allocations: 4.844 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.7567, allocations: 0.875 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7567, allocations: 2 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.7568, allocations: 43.88 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.7572, allocations: 437.7 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.7572, allocations: 37.58 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.7572, allocations: 24.81 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.7572, allocations: 0 / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.102e-05/0.7573, allocations: 36.86 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.7573, allocations: 0 / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/0.7574, allocations: 60.98 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.7574, allocations: 78.69 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.7575, allocations: 163 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.7575, allocations: 25.7 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.7576, allocations: 104.5 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.7576, allocations: 5.438 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.7576, allocations: 19.5 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.7576, allocations: 320.1 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.7577, allocations: 3.594 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.7577, allocations: 24.08 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.7577, allocations: 26.44 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.7577, allocations: 0 / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.743e-05/0.7578, allocations: 62.81 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.7578, allocations: 9.312 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7578, allocations: 0.6875 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7578, allocations: 4.719 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.7579, allocations: 9.406 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.7579, allocations: 7.469 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.7579, allocations: 6.656 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.7579, allocations: 0.9062 kB / 1.275 GB, free: 4.824 MB / 0.9981 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 3.922e-05/0.7579, allocations: 113.2 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.758, allocations: 16.38 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.758, allocations: 15.12 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.758, allocations: 3.938 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.758, allocations: 0.75 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.758, allocations: 9.094 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.7582, allocations: 464.5 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7582, allocations: 0.9688 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.7583, allocations: 3.094 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.7583, allocations: 2.078 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.7583, allocations: 1.312 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7583, allocations: 0 / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7583, allocations: 5.344 kB / 1.275 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.413e-05/0.7583, allocations: 85.67 kB / 1.275 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.7584, allocations: 87.38 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.7584, allocations: 1.875 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.7584, allocations: 0 / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.7584, allocations: 5.406 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.7584, allocations: 5.75 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.7585, allocations: 118.7 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7585, allocations: 0 / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001729/0.7586, allocations: 11.38 kB / 1.276 GB, free: 3.906 MB / 0.9981 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.0002008/0.7588, allocations: 0.6164 MB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.7589, allocations: 15.88 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7589, allocations: 0 / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.7589, allocations: 11.45 kB / 1.276 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.7591, allocations: 12.91 kB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.7599, allocations: 1.334 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.7602, allocations: 0.6942 MB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.7602, allocations: 5.312 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.7603, allocations: 26.52 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.7603, allocations: 0 / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.7831, allocations: 1.571 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.719, allocations: 12.69 kB / 1.28 GB, free: 16.94 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.029821251999238]