Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 69.42 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4357, allocations: 157.4 MB / 1.052 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002709/0.4385, allocations: 0.7301 MB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.4396, allocations: 0.8157 MB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.4397, allocations: 3.938 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.4398, allocations: 3.938 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.4398, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.44, allocations: 11.98 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.4401, allocations: 23.92 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.4402, allocations: 4 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.167e-05/0.4403, allocations: 11.94 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.4404, allocations: 7.984 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.4404, allocations: 11.92 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.4404, allocations: 4 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.4404, allocations: 4 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.4405, allocations: 11.92 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.142e-05/0.4406, allocations: 15.97 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4406, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4406, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4406, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 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.0004918/0.4411, allocations: 339.8 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4412, allocations: 8.625 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.4412, allocations: 34.75 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.4412, allocations: 12.84 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4414, allocations: 164.3 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4414, allocations: 384 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.4414, allocations: 4.375 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.4416, allocations: 46.23 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4417, allocations: 11.88 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4417, allocations: 4 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4417, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.4418, allocations: 35.95 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.4422, allocations: 240.9 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.4423, allocations: 46.47 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.4424, allocations: 24.91 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.4425, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.4425, allocations: 34.56 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4425, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003569/0.4429, allocations: 81.58 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.4429, allocations: 55.53 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.443, allocations: 101.8 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.443, allocations: 29.7 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.4431, allocations: 84.14 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.4431, allocations: 3.906 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.4431, allocations: 13.72 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.4432, allocations: 310.8 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.4433, allocations: 23.91 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.4434, allocations: 19.98 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.4436, allocations: 36.83 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4436, allocations: 3.938 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.4438, allocations: 73.5 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4438, allocations: 9.812 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4438, allocations: 0 / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4438, allocations: 4 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.4439, allocations: 7.984 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4439, allocations: 0 / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.444, allocations: 4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.444, allocations: 3.984 kB / 1.056 GB, free: 4.836 MB / 0.8106 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 7.936e-05/0.4441, allocations: 113.8 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4441, allocations: 4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.4444, allocations: 68.78 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4444, allocations: 7.938 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4444, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4444, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.4446, allocations: 169.5 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4446, allocations: 192 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.4446, allocations: 8 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4447, allocations: 4.031 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4447, allocations: 3.984 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4447, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4447, allocations: 3.984 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.4449, allocations: 159.5 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.445, allocations: 88.94 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.445, allocations: 4.031 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.4451, allocations: 8 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.4451, allocations: 7.984 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4451, allocations: 0 / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.4452, allocations: 83.28 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4452, allocations: 3.938 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004556/0.4457, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 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.0005862/0.4462, allocations: 0.6929 MB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4465, allocations: 35.95 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4465, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-05/0.4466, allocations: 28.02 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4469, allocations: 11.59 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.4473, allocations: 135.8 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.4476, allocations: 0.6729 MB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.4476, allocations: 64 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.4476, allocations: 19.42 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.4477, allocations: 4 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.4596, allocations: 1.103 MB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/0.4599, allocations: 202.4 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.363, allocations: 1.828 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches