Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.008528/0.008528, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.001713/0.001713, allocations: 194.6 kB / 16.67 MB, free: 5.461 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.89 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8048/0.8061, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001723/0.8079, allocations: 0.6106 MB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007462/0.8087, allocations: 0.8046 MB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.8087, allocations: 1.188 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.8087, allocations: 3.938 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.8088, allocations: 1.156 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.8089, allocations: 11.56 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.809, allocations: 18.25 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.809, allocations: 5.719 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.8091, allocations: 14.2 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.8092, allocations: 13.14 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.8092, allocations: 1.375 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.8092, allocations: 1.406 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.8092, allocations: 1.891 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.8093, allocations: 6.406 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.776e-05/0.8093, allocations: 17.44 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.8093, allocations: 5.156 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8094, allocations: 0 / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.8094, allocations: 0 / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002952/0.8097, allocations: 327.9 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8097, allocations: 9.125 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.501e-05/0.8097, allocations: 31.59 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.8098, allocations: 2.469 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.8098, allocations: 163 kB / 1.089 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.8098, allocations: 1.625 kB / 1.089 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.8099, allocations: 8.312 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.81, allocations: 35.58 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.81, allocations: 3.938 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.81, allocations: 5.094 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.81, allocations: 0 / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.8101, allocations: 15.75 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.8102, allocations: 152.6 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.913e-05/0.8102, allocations: 29.41 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.8103, allocations: 24.92 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.8103, allocations: 7.984 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.8103, allocations: 32.12 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.8103, allocations: 0 / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001801/0.8105, allocations: 55 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.8106, allocations: 51.92 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.8106, allocations: 103.7 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.8106, allocations: 25.7 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.836e-05/0.8106, allocations: 89.92 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.8107, allocations: 4.516 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.8107, allocations: 12.67 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.768e-05/0.8107, allocations: 313.6 kB / 1.09 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.8108, allocations: 13.5 kB / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.8108, allocations: 6.531 kB / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.685e-05/0.8109, allocations: 20.89 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8109, allocations: 1.031 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.352e-05/0.811, allocations: 47.44 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.811, allocations: 8.875 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.811, allocations: 0 / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.811, allocations: 1.062 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.8111, allocations: 4.234 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.8111, allocations: 0.7188 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.8111, allocations: 7.547 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.8112, allocations: 11.97 kB / 1.091 GB, free: 2.555 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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 3.829e-05/0.8112, allocations: 108.8 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.8112, allocations: 9.672 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.8112, allocations: 4.734 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.8112, allocations: 0.6562 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8113, allocations: 1.188 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.8113, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.839e-05/0.8113, allocations: 152.6 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8113, allocations: 1.312 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.8114, allocations: 8.641 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8114, allocations: 3.938 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.8114, allocations: 0.7188 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8114, allocations: 4.594 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8114, allocations: 0.7812 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.8115, allocations: 72 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.8115, allocations: 78.75 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.8116, allocations: 13.55 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.807e-05/0.8116, allocations: 2.109 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.8116, allocations: 5.281 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.8116, allocations: 1.719 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.8117, allocations: 84.95 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8117, allocations: 0 / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001735/0.8118, allocations: 2.688 kB / 1.091 GB, free: 1.969 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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.0003938/0.8122, allocations: 0.6077 MB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.8124, allocations: 17.56 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.8124, allocations: 0.7812 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.8124, allocations: 11.59 kB / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.8126, allocations: 5.25 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.813, allocations: 143.8 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.8133, allocations: 0.6744 MB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.8133, allocations: 1.188 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.8133, allocations: 8.422 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8133, allocations: 0 / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.829, allocations: 1.135 MB / 1.094 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/8.407, allocations: 3.875 kB / 1.094 GB, free: 16.14 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches