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.005643/0.005643, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.001219/0.001219, allocations: 197.4 kB / 16.67 MB, free: 5.961 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 67.91 kB / 1.054 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002118/1.043, allocations: 0.6685 MB / 1.208 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001069/1.044, allocations: 0.8079 MB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/1.044, allocations: 4 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/1.044, allocations: 7.922 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/1.044, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/1.044, allocations: 4 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.701e-05/1.044, allocations: 31.91 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/1.044, allocations: 4 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/1.044, allocations: 11.92 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/1.044, allocations: 15.98 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/1.044, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/1.044, allocations: 4 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/1.044, allocations: 7.875 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/1.044, allocations: 8 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.677e-05/1.045, allocations: 23.89 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.045, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/1.045, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.045, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 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.0004934/1.045, allocations: 341.7 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.045, allocations: 12.03 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/1.045, allocations: 38.73 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/1.045, allocations: 0.9375 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.045, allocations: 164.4 kB / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/1.045, allocations: 384 / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/1.045, allocations: 384 / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/1.046, allocations: 50.23 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.046, allocations: 3.938 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.046, allocations: 7.938 kB / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/1.046, allocations: 0 / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/1.046, allocations: 39.89 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/1.046, allocations: 245 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/1.046, allocations: 38.5 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/1.046, allocations: 32.83 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/1.046, allocations: 4 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/1.046, allocations: 34.5 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.524e-06/1.046, allocations: 3.984 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003595/1.047, allocations: 81.64 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.047, allocations: 55.44 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/1.047, allocations: 97.86 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/1.047, allocations: 25.7 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/1.047, allocations: 88.08 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/1.047, allocations: 11.89 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/1.047, allocations: 9.719 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.047, allocations: 314.8 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/1.047, allocations: 19.98 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/1.047, allocations: 11.98 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/1.048, allocations: 48.75 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.048, allocations: 3.938 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/1.048, allocations: 69.72 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.048, allocations: 4 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.048, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.048, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/1.048, allocations: 12 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.048, allocations: 0 / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/1.048, allocations: 7.984 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/1.048, allocations: 0 / 1.211 GB, free: 9.832 MB / 0.9356 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.157e-05/1.048, allocations: 113.8 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/1.048, allocations: 4 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/1.048, allocations: 76.7 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.048, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.048, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.048, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/1.049, allocations: 157.6 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.049, allocations: 4 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/1.049, allocations: 12.02 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/1.049, allocations: 0 / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/1.049, allocations: 0 / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.049, allocations: 0 / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.049, allocations: 7.938 kB / 1.211 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/1.049, allocations: 171.2 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/1.049, allocations: 85.14 kB / 1.211 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/1.049, allocations: 0 / 1.211 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/1.049, allocations: 7.984 kB / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/1.049, allocations: 0 / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/1.049, allocations: 0 / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.184e-05/1.049, allocations: 87.27 kB / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.049, allocations: 0 / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002101/1.049, allocations: 4 kB / 1.211 GB, free: 9.016 MB / 0.9356 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.0005579/1.05, allocations: 0.7007 MB / 1.212 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002079/1.05, allocations: 31.97 kB / 1.212 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.05, allocations: 4.094 kB / 1.212 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/1.05, allocations: 23.97 kB / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/1.051, allocations: 0 / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/1.051, allocations: 143.7 kB / 1.212 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/1.051, allocations: 0.6806 MB / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.775e-05/1.051, allocations: 0 / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/1.051, allocations: 19.44 kB / 1.213 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/1.051, allocations: 0 / 1.213 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/1.07, allocations: 1.286 MB / 1.214 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/8.56, allocations: 19.11 kB / 1.214 GB, free: 6.105 MB / 0.9356 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