Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001512/0.001512, allocations: 190.9 kB / 17.2 MB, free: 5.594 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.687/2.687, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.44 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7323, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00177/0.7341, allocations: 0.6042 MB / 1.084 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007761/0.7349, allocations: 0.8048 MB / 1.084 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.7349, allocations: 0 / 1.084 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.735, allocations: 3.938 kB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.735, allocations: 2.109 kB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.7351, allocations: 15.83 kB / 1.084 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.7352, allocations: 20.81 kB / 1.084 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.7353, allocations: 2.359 kB / 1.084 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.7354, allocations: 10.66 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.7354, allocations: 9.391 kB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.7354, allocations: 5.406 kB / 1.084 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-06/0.7354, allocations: 1.062 kB / 1.084 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.7355, allocations: 0.7969 kB / 1.084 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.7355, allocations: 14.67 kB / 1.084 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.318e-05/0.7356, allocations: 14.25 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7356, allocations: 0.6562 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7356, allocations: 0 / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7356, allocations: 0 / 1.084 GB, free: 0.6172 MB / 0.8262 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.0003092/0.7359, allocations: 331 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.7359, allocations: 9.531 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.736, allocations: 6.438 kB / 1.085 GB, free: 260 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.697e-05/0.736, allocations: 164.2 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.7361, allocations: 4.375 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.7361, allocations: 4.875 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.7362, allocations: 38.81 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7362, allocations: 192 / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.7362, allocations: 5.328 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.7362, allocations: 0 / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.7363, allocations: 15.7 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.7365, allocations: 153.1 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.874e-05/0.7366, allocations: 21.8 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.7366, allocations: 19.27 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.7366, allocations: 0.5156 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.7367, allocations: 32.5 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.7367, allocations: 4 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0002168/0.7369, allocations: 58.8 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.737, allocations: 53.17 kB / 1.085 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.737, allocations: 102.3 kB / 1.085 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.7371, allocations: 26.86 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.7371, allocations: 80.66 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.7371, allocations: 0.875 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.7372, allocations: 21.22 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7373, allocations: 312.5 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.7374, allocations: 13.75 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.7374, allocations: 7.328 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.7375, allocations: 21.19 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7375, allocations: 0.7969 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/0.7376, allocations: 51.41 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7376, allocations: 4.125 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7376, allocations: 5.828 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.7377, allocations: 0 / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.7377, allocations: 4.031 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7377, allocations: 0.6562 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.7378, allocations: 6.578 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.7378, allocations: 5.703 kB / 1.086 GB, free: 15.01 MB / 0.8419 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 7.811e-05/0.7379, allocations: 112 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.7379, allocations: 9.375 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.7379, allocations: 12.97 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7379, allocations: 0 / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7379, allocations: 2.047 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7379, allocations: 3.938 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.738, allocations: 148.6 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.7381, allocations: 0.7812 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.7381, allocations: 5.125 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.7381, allocations: 0 / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7381, allocations: 5.922 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7381, allocations: 8 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7381, allocations: 1.094 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.7383, allocations: 72.14 kB / 1.086 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.7383, allocations: 81.72 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.7383, allocations: 5.297 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.7384, allocations: 2.938 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.7384, allocations: 8.719 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.7384, allocations: 2.047 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.7385, allocations: 80.17 kB / 1.086 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7385, allocations: 0 / 1.086 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001689/0.7386, allocations: 3.938 kB / 1.086 GB, free: 14.42 MB / 0.8419 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.0001255/0.7388, allocations: 101.4 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.7389, allocations: 18.31 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7389, allocations: 8 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.7389, allocations: 8.062 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.7391, allocations: 5.375 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.7394, allocations: 134.5 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.7397, allocations: 0.6746 MB / 1.087 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.7397, allocations: 13.41 kB / 1.087 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.7397, allocations: 4.062 kB / 1.087 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.001883/0.7416, allocations: 459.9 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches