Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_10_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.01166/0.01166, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.002842/0.002842, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.432/2.432, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.287/4.287, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 75.83 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353/1.355, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002015/1.357, allocations: 0.6712 MB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001044/1.359, allocations: 0.8118 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/1.359, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/1.359, allocations: 3.938 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/1.359, allocations: 3.938 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/1.359, allocations: 8 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.157e-05/1.359, allocations: 27.92 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/1.359, allocations: 11.98 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/1.359, allocations: 7.938 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/1.359, allocations: 15.97 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/1.359, allocations: 4 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/1.359, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/1.359, allocations: 7.938 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/1.359, allocations: 4 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.374e-05/1.359, allocations: 23.91 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.359, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.874e-06/1.359, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.551e-06/1.359, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 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.0005071/1.36, allocations: 343.2 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.36, allocations: 8.922 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/1.36, allocations: 38.73 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/1.36, allocations: 4.938 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/1.36, allocations: 168.3 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/1.36, allocations: 384 / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/1.36, allocations: 384 / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/1.36, allocations: 54.17 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.36, allocations: 3.938 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/1.36, allocations: 4 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.36, allocations: 7.938 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/1.361, allocations: 31.95 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/1.361, allocations: 245 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/1.361, allocations: 44.88 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/1.361, allocations: 32.89 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/1.361, allocations: 0 / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.361, allocations: 30.56 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/1.361, allocations: 0 / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003659/1.362, allocations: 77.77 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.362, allocations: 59.34 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/1.362, allocations: 101.8 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/1.362, allocations: 29.7 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/1.362, allocations: 88.12 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/1.362, allocations: 7.938 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/1.362, allocations: 13.72 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.362, allocations: 310.8 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/1.362, allocations: 19.98 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/1.362, allocations: 15.98 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/1.363, allocations: 40.81 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.363, allocations: 3.938 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/1.363, allocations: 73.67 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.363, allocations: 4 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.363, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.363, allocations: 4 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/1.363, allocations: 7.938 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.363, allocations: 3.984 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/1.363, allocations: 4 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/1.363, allocations: 0 / 1.17 GB, free: 64 kB / 0.8887 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 0.0001418/1.363, allocations: 117.8 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/1.363, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/1.363, allocations: 72.77 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.363, allocations: 4 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.363, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.363, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/1.364, allocations: 157.6 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.364, allocations: 192 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/1.364, allocations: 15.95 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.364, allocations: 7.938 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.364, allocations: 7.984 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.364, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.364, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/1.364, allocations: 163.5 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/1.364, allocations: 85.09 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/1.364, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/1.364, allocations: 7.984 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/1.364, allocations: 4 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/1.364, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.248e-05/1.364, allocations: 87.27 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.364, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002203/1.365, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 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.0006593/1.365, allocations: 0.7045 MB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002087/1.365, allocations: 31.97 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.365, allocations: 8.094 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/1.366, allocations: 19.97 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/1.366, allocations: 4 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/1.366, allocations: 135.5 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/1.367, allocations: 0.6768 MB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.251e-05/1.367, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/1.367, allocations: 19.5 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/1.367, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/1.391, allocations: 1.264 MB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.5, allocations: 3.906 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches