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.001166/0.001166, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 75.75 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3522, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002134/0.3544, allocations: 0.6554 MB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.3553, allocations: 0.8234 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.3554, allocations: 0 / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.3554, allocations: 0 / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.3555, allocations: 7.938 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.3556, allocations: 8 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.3557, allocations: 23.92 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.3558, allocations: 4 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.3559, allocations: 15.92 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.3559, allocations: 7.984 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.3559, allocations: 0 / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.356, allocations: 7.938 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.356, allocations: 11.92 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.356, allocations: 15.94 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.957e-05/0.3561, allocations: 15.97 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3561, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3561, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3561, allocations: 0 / 1.054 GB, free: 6.641 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.0004157/0.3565, allocations: 335.8 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3566, allocations: 12.62 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.3566, allocations: 34.73 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.3567, allocations: 4.844 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3568, allocations: 164.4 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3568, allocations: 4.375 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.3568, allocations: 4.312 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.357, allocations: 50.23 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.357, allocations: 3.938 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.357, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.357, allocations: 3.938 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.3572, allocations: 35.95 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.3575, allocations: 249 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3576, allocations: 38.44 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.3577, allocations: 20.91 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3577, allocations: 3.984 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3578, allocations: 38.56 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3578, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003326/0.3581, allocations: 77.64 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3582, allocations: 55.41 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.3582, allocations: 101.8 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3583, allocations: 29.83 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.3583, allocations: 80.14 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3583, allocations: 7.891 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.3584, allocations: 17.72 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.3585, allocations: 310.8 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.3585, allocations: 15.98 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.3586, allocations: 19.98 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3588, allocations: 44.88 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3588, allocations: 3.938 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.359, allocations: 65.56 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.359, allocations: 8 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.359, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.359, allocations: 3.938 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.3591, allocations: 8.031 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3591, allocations: 7.938 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.3592, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3592, allocations: 4 kB / 1.056 GB, free: 4.574 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.128e-05/0.3593, allocations: 113.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3593, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3595, allocations: 80.95 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3595, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3595, allocations: 3.984 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3595, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3597, allocations: 161.6 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3597, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.3598, allocations: 19.86 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3598, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3598, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3598, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3598, allocations: 4.031 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.36, allocations: 159.5 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.3601, allocations: 84.95 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3601, allocations: 8 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.3602, allocations: 7.984 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.3602, allocations: 4.031 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3602, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.3603, allocations: 83.27 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3603, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002056/0.3605, allocations: 4 kB / 1.057 GB, free: 3.758 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.0005266/0.361, allocations: 0.6967 MB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3612, allocations: 39.97 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3612, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.3613, allocations: 23.91 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3616, allocations: 5.25 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.362, allocations: 135.8 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3623, allocations: 0.6768 MB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.3623, allocations: 4 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.3624, allocations: 7.438 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3624, allocations: 0 / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.3792, allocations: 1.244 MB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.677, allocations: 8.953 kB / 1.06 GB, free: 0.8984 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