Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001548/0.001548, allocations: 109.5 kB / 16.45 MB, free: 6.504 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.001813/0.001813, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.601/2.601, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 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_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.91 kB / 1.056 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8821/0.8842, allocations: 160.7 MB / 1.213 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002148/0.8864, allocations: 0.8372 MB / 1.214 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.8865, allocations: 44.78 kB / 1.214 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.8865, allocations: 2.188 kB / 1.214 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.8866, allocations: 15.86 kB / 1.214 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.8867, allocations: 9.094 kB / 1.214 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.645e-05/0.8867, allocations: 15.11 kB / 1.214 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.8868, allocations: 62.94 kB / 1.214 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.887, allocations: 34.17 kB / 1.214 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.8871, allocations: 24.19 kB / 1.214 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.8871, allocations: 28.34 kB / 1.214 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.8871, allocations: 6.688 kB / 1.214 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.8871, allocations: 6.156 kB / 1.214 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.8872, allocations: 22.08 kB / 1.214 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.8872, allocations: 30.2 kB / 1.214 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.8873, allocations: 75.14 kB / 1.214 GB, free: 2.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8873, allocations: 1.281 kB / 1.214 GB, free: 2.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8873, allocations: 0 / 1.214 GB, free: 2.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.8873, allocations: 0 / 1.214 GB, free: 2.992 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.0004844/0.8878, allocations: 382.6 kB / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.8879, allocations: 10.41 kB / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.8879, allocations: 44.81 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.888, allocations: 21.11 kB / 1.215 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.8882, allocations: 202.8 kB / 1.215 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.8882, allocations: 3.781 kB / 1.215 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.8882, allocations: 9.094 kB / 1.215 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.8884, allocations: 89.58 kB / 1.215 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8884, allocations: 3.938 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.8884, allocations: 4.719 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8884, allocations: 2.594 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.8885, allocations: 38.97 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.8891, allocations: 437.7 kB / 1.215 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.8892, allocations: 40.53 kB / 1.215 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.8892, allocations: 15.03 kB / 1.215 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.8892, allocations: 5.094 kB / 1.215 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.8892, allocations: 39.66 kB / 1.215 GB, free: 1.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8892, allocations: 0 / 1.215 GB, free: 1.633 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.8894, allocations: 58.36 kB / 1.215 GB, free: 1.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.8895, allocations: 78.3 kB / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.8896, allocations: 156.1 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.8896, allocations: 31.08 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.8897, allocations: 104.5 kB / 1.216 GB, free: 1.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.8897, allocations: 5.047 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.8898, allocations: 16.88 kB / 1.216 GB, free: 1.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8899, allocations: 320.8 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.8899, allocations: 4.312 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.8899, allocations: 18.06 kB / 1.216 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.89, allocations: 33.8 kB / 1.216 GB, free: 0.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.89, allocations: 1.094 kB / 1.216 GB, free: 0.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.691e-05/0.8901, allocations: 59.23 kB / 1.216 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.8901, allocations: 9.281 kB / 1.216 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8901, allocations: 0 / 1.216 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8901, allocations: 1.156 kB / 1.216 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.8902, allocations: 17.33 kB / 1.216 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8902, allocations: 0.7188 kB / 1.216 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.8902, allocations: 10.81 kB / 1.216 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.8902, allocations: 1.094 kB / 1.216 GB, free: 0.7617 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 8.242e-05/0.8903, allocations: 113.1 kB / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.8903, allocations: 12.36 kB / 1.216 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.8904, allocations: 10.19 kB / 1.216 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8904, allocations: 0.9375 kB / 1.216 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8904, allocations: 12.83 kB / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8904, allocations: 4.922 kB / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.8908, allocations: 478.8 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8908, allocations: 0 / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.8908, allocations: 3.156 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8908, allocations: 1 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.8908, allocations: 1.062 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8908, allocations: 0 / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8908, allocations: 0.875 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.886e-05/0.8909, allocations: 90.53 kB / 1.217 GB, free: 0 / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.891, allocations: 84.12 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.891, allocations: 1 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.891, allocations: 1 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.8911, allocations: 5.078 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.8911, allocations: 1.125 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.778e-05/0.8912, allocations: 125.9 kB / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8912, allocations: 4.031 kB / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001868/0.8913, allocations: 6.969 kB / 1.217 GB, free: 15.8 MB / 0.9356 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.0004238/0.8918, allocations: 0.6159 MB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.8919, allocations: 18.41 kB / 1.218 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8919, allocations: 0 / 1.218 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.8919, allocations: 8.844 kB / 1.218 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.892, allocations: 10.69 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.8933, allocations: 1.328 MB / 1.219 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.8936, allocations: 0.6952 MB / 1.22 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.8937, allocations: 8.859 kB / 1.22 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.8937, allocations: 27.58 kB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.8937, allocations: 3.938 kB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.9176, allocations: 1.585 MB / 1.221 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/9.065, allocations: 9.203 kB / 1.221 GB, free: 12.32 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.064555742777884]