Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.000858/0.000858, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00107/0.00107, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9185/0.9185, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.24e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001597/0.00162, allocations: 0.7975 MB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.001733, allocations: 51.72 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.001782, allocations: 0 / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.001817, allocations: 3.938 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.00189, allocations: 11.88 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.276e-05/0.001933, allocations: 15.98 kB / 0.9514 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.002034, allocations: 67.77 kB / 0.9514 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.002169, allocations: 27.97 kB / 0.9514 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.002239, allocations: 35.91 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.002301, allocations: 19.92 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.002327, allocations: 8 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.002335, allocations: 8 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.002354, allocations: 15.91 kB / 0.9515 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.002383, allocations: 19.94 kB / 0.9516 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.002489, allocations: 75.69 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.002491, allocations: 0 / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.323e-06/0.002492, allocations: 3.938 kB / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.002496, allocations: 0 / 0.9516 GB, free: 2.32 MB / 0.9011 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.0003727/0.002869, allocations: 306 kB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.002912, allocations: 8.031 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.002947, allocations: 42.75 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.002972, allocations: 12.84 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.003141, allocations: 137.6 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003151, allocations: 8.312 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.003163, allocations: 12.38 kB / 0.9521 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.00329, allocations: 91.88 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003297, allocations: 192 / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.003307, allocations: 4.375 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.003314, allocations: 8.125 kB / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.272e-05/0.003377, allocations: 39.92 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.00378, allocations: 387.8 kB / 0.9526 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.003826, allocations: 41.36 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.003851, allocations: 21.66 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.003858, allocations: 0 / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.003878, allocations: 38.56 kB / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.003878, allocations: 0 / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.004017, allocations: 49.59 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.004054, allocations: 85.03 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.004155, allocations: 157 kB / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004166, allocations: 29.7 kB / 0.953 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.004217, allocations: 100.1 kB / 0.9531 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.004224, allocations: 7.953 kB / 0.9531 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.004252, allocations: 25.66 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.004329, allocations: 314.8 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.004343, allocations: 7.984 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.004362, allocations: 25.7 kB / 0.9535 GB, free: 184 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.004393, allocations: 29.66 kB / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004395, allocations: 4 kB / 0.9535 GB, free: 144 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.362e-05/0.004449, allocations: 61.58 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.004462, allocations: 10.81 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004467, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.004478, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.004524, allocations: 7.938 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.004531, allocations: 4 kB / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.004549, allocations: 3.938 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.004554, allocations: 4 kB / 0.9536 GB, free: 48 kB / 0.9011 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 7.152e-05/0.004626, allocations: 113.8 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.004646, allocations: 11.95 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.004667, allocations: 19.73 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.004668, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.004674, allocations: 7.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004676, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.004932, allocations: 433.9 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.004933, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.004948, allocations: 7.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.00495, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.004956, allocations: 64 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.00496, allocations: 11.98 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.004961, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.582e-05/0.005027, allocations: 73.89 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.005047, allocations: 19.88 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.005056, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.005067, allocations: 4 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.005079, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.005081, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.005137, allocations: 122.3 kB / 0.9544 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005137, allocations: 0 / 0.9544 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001226/0.00526, allocations: 12.03 kB / 0.9544 GB, free: 15.14 MB / 0.9167 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.0002209/0.005481, allocations: 0.6132 MB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.915e-05/0.00555, allocations: 16 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.005552, allocations: 0 / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.005559, allocations: 7.938 kB / 0.955 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.00568, allocations: 8 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.006541, allocations: 1.349 MB / 0.9564 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.00659, allocations: 75.33 kB / 0.9564 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.006617, allocations: 8.484 kB / 0.9564 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.006659, allocations: 24.5 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.006659, allocations: 0 / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.0225, allocations: 2.239 MB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.651, allocations: 10.47 kB / 0.9587 GB, free: 10.78 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.73503197170794]