Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001511/0.001511, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001488/0.001488, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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.812/2.812, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 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.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 75.89 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8345, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002178/0.8367, allocations: 0.6631 MB / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.8377, allocations: 0.8118 MB / 1.27 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.8377, allocations: 7.938 kB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.8378, allocations: 3.938 kB / 1.27 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.8378, allocations: 0 / 1.27 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.838, allocations: 15.92 kB / 1.27 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.838, allocations: 15.98 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.8381, allocations: 11.98 kB / 1.27 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.8382, allocations: 11.88 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.8382, allocations: 7.984 kB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.8383, allocations: 4 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.8383, allocations: 0 / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.8383, allocations: 12 kB / 1.27 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.8383, allocations: 3.938 kB / 1.27 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.384e-05/0.8384, allocations: 29.72 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8384, allocations: 0 / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8384, allocations: 0 / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.8384, allocations: 0 / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004757/0.8389, allocations: 341.5 kB / 1.271 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.8389, allocations: 8.031 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.839, allocations: 34.73 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.839, allocations: 12.89 kB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.8391, allocations: 164.3 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.8391, allocations: 384 / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.8392, allocations: 4.375 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.8393, allocations: 50.17 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8393, allocations: 3.938 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.8394, allocations: 4 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.8394, allocations: 0 / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.8395, allocations: 35.95 kB / 1.271 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.8399, allocations: 241 kB / 1.271 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.84, allocations: 42.5 kB / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.8401, allocations: 32.83 kB / 1.271 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.8401, allocations: 4 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.8401, allocations: 34.5 kB / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8401, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003437/0.8405, allocations: 81.64 kB / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.8405, allocations: 51.41 kB / 1.271 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.8406, allocations: 93.98 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.8406, allocations: 29.7 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.8407, allocations: 92.09 kB / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.8407, allocations: 7.938 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.8407, allocations: 9.719 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8409, allocations: 322.8 kB / 1.272 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.841, allocations: 15.92 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.841, allocations: 23.97 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.8412, allocations: 40.83 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8412, allocations: 3.938 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/0.8414, allocations: 65.66 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.8414, allocations: 4 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8414, allocations: 0 / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8414, allocations: 4.094 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.8415, allocations: 11.98 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8415, allocations: 3.938 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.8416, allocations: 4 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.8416, allocations: 0 / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.601e-05/0.8416, allocations: 117.8 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.8417, allocations: 0 / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.8419, allocations: 72.77 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8419, allocations: 192 / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.8419, allocations: 4 kB / 1.272 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.8419, allocations: 3.984 kB / 1.272 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.8421, allocations: 157.6 kB / 1.272 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8421, allocations: 0 / 1.272 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.8422, allocations: 7.984 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8422, allocations: 0 / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8422, allocations: 4 kB / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8422, allocations: 4.031 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8422, allocations: 3.938 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.8424, allocations: 167.4 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.8425, allocations: 81.05 kB / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.8425, allocations: 0 / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.8426, allocations: 12.02 kB / 1.273 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.8426, allocations: 0 / 1.273 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.8426, allocations: 8 kB / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.8426, allocations: 79.27 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8426, allocations: 0 / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002142/0.8429, allocations: 4 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0005966/0.8435, allocations: 0.7012 MB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.8437, allocations: 35.91 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.8437, allocations: 0 / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.8437, allocations: 19.98 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.844, allocations: 14.44 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.8445, allocations: 147.5 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.8448, allocations: 0.6768 MB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.8448, allocations: 0 / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.8448, allocations: 11.44 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8448, allocations: 0 / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.8712, allocations: 1.284 MB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.985, allocations: 17.19 kB / 1.276 GB, free: 13.76 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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: 14.960764303803444]