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.0008663/0.0008663, 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.0009786/0.0009786, 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.9357/0.9357, 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 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.688/1.688, allocations: 359 MB / 0.6037 GB, free: 11.09 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.754e-06/1.754e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.041e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001408/0.001428, allocations: 0.79 MB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.00154, allocations: 47.72 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.001588, allocations: 0 / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.001623, allocations: 11.86 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.001692, allocations: 3.938 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.944e-05/0.001732, allocations: 19.98 kB / 0.9514 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.00183, allocations: 63.78 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.00195, allocations: 31.95 kB / 0.9514 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.002013, allocations: 35.86 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.002065, allocations: 31.89 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.002087, allocations: 4 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.002096, allocations: 8 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.002113, allocations: 7.938 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.002143, allocations: 27.91 kB / 0.9516 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.002245, allocations: 75.69 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002247, allocations: 0 / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.163e-06/0.002248, allocations: 3.938 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002252, allocations: 0 / 0.9516 GB, free: 2.336 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.0003378/0.00259, allocations: 303.7 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.002631, allocations: 12.03 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.002664, allocations: 42.73 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.002687, allocations: 12.84 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.002844, allocations: 133.5 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.002855, allocations: 12.31 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.002865, allocations: 8.375 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.002988, allocations: 90.45 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.002997, allocations: 4.125 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.003007, allocations: 8.359 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.003014, allocations: 8.125 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.003073, allocations: 35.98 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.003482, allocations: 388 kB / 0.9526 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.003532, allocations: 37.09 kB / 0.9527 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.003558, allocations: 21.84 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.003566, allocations: 0 / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.003588, allocations: 42.48 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.003589, allocations: 0 / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.003724, allocations: 45.88 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.003764, allocations: 93.02 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.003872, allocations: 156.8 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.003882, allocations: 25.7 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.003938, allocations: 112 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.003947, allocations: 7.938 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.003974, allocations: 21.67 kB / 0.9532 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.00406, allocations: 318.8 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.004073, allocations: 4 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.004093, allocations: 17.72 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.004129, allocations: 37.7 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004131, allocations: 0 / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.158e-05/0.004193, allocations: 57.59 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.004207, allocations: 8 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.004211, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.004223, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.004281, allocations: 11.92 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.00429, allocations: 4 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.004307, allocations: 0 / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.004312, allocations: 3.938 kB / 0.9536 GB, free: 68 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.844e-05/0.00439, allocations: 121.8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.004413, allocations: 11.91 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.004437, allocations: 15.75 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.00444, allocations: 3.984 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.004447, allocations: 7.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.004451, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.004752, allocations: 429.9 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.004754, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.004771, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.004773, allocations: 4.062 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.004781, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.004783, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.004784, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.317e-05/0.004847, allocations: 77.88 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.004872, allocations: 15.89 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.004883, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.004893, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.004909, allocations: 7.984 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.004911, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.004982, allocations: 126.3 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004982, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001375/0.005119, allocations: 11.94 kB / 0.9544 GB, free: 15.15 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.0002999/0.005419, allocations: 0.6093 MB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.005509, allocations: 19.94 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.005511, allocations: 0 / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-06/0.005518, allocations: 4 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.005656, allocations: 8.281 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.006866, allocations: 1.341 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.006914, allocations: 79.31 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.00694, allocations: 4.5 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.006983, allocations: 28.48 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.006984, allocations: 4 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.02454, allocations: 2.239 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.689, allocations: 5.469 kB / 0.9587 GB, free: 10.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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.705965235829353]