Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_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_10_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.001406/0.001406, allocations: 108 kB / 15.6 MB, free: 132 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.001424/0.001425, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.548/1.548, 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 10.1.1-maint.10.0.x/package.mo): time 2.861/2.861, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.88 kB / 0.8693 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8372, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001916/0.8392, allocations: 0.6032 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.8402, allocations: 0.8078 MB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.8402, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.8402, allocations: 3.938 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.8403, allocations: 4 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.8404, allocations: 7.922 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.346e-05/0.8405, allocations: 23.94 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.8406, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.8406, allocations: 19.97 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.8407, allocations: 7.938 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.8407, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.8407, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.8407, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.8408, allocations: 11.92 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.111e-05/0.8408, allocations: 15.92 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8409, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8409, allocations: 7.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.8409, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 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.0004507/0.8413, allocations: 325.5 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.8414, allocations: 8.031 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.8414, allocations: 4.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.8415, allocations: 172.3 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.8416, allocations: 384 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.8416, allocations: 4.375 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.8417, allocations: 46.19 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8417, allocations: 192 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.8417, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.8418, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.8418, allocations: 15.98 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.842, allocations: 153.7 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.251e-05/0.8421, allocations: 22.56 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.8421, allocations: 16.91 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.8421, allocations: 7.938 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.8422, allocations: 30.56 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.8422, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002191/0.8424, allocations: 49.62 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.8425, allocations: 55.41 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.8425, allocations: 106 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.8426, allocations: 25.7 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.8426, allocations: 84.14 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.8426, allocations: 3.906 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.8427, allocations: 9.719 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8428, allocations: 318.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.8429, allocations: 4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.8429, allocations: 19.92 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.249e-05/0.843, allocations: 20.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.843, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001042/0.8431, allocations: 41.69 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.8431, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8431, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8432, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.8432, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.8432, allocations: 4.094 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.8433, allocations: 15.92 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.8433, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 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 8.388e-05/0.8434, allocations: 110.9 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.8434, allocations: 7.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.8434, allocations: 7.062 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.8434, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8434, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.8434, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.8436, allocations: 157.7 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8436, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.8436, allocations: 7.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.8436, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.8436, allocations: 4.188 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8436, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8437, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.8438, allocations: 77.12 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.8439, allocations: 85 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.8439, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.009e-05/0.8439, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.8439, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.844, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.844, allocations: 91.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.844, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001731/0.8442, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 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.0001352/0.8443, allocations: 99.28 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.8445, allocations: 19.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8445, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.8445, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.8447, allocations: 5.547 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.8449, allocations: 114.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.8453, allocations: 0.6768 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.8453, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.8453, allocations: 7.438 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.8453, allocations: 3.938 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.002239/0.8476, allocations: 284.9 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches