Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.0016/0.0016, allocations: 196.1 kB / 16.91 MB, free: 5.754 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 482.2 MB / 0.7548 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.92 kB / 0.9238 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6966, allocations: 162.2 MB / 1.082 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002732/0.6994, allocations: 1.833 MB / 1.084 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.7003, allocations: 0.6488 MB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.7004, allocations: 1.219 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.7005, allocations: 7.812 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.7005, allocations: 15.06 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.7011, allocations: 164.7 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.7013, allocations: 115.9 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.7014, allocations: 48.7 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.7015, allocations: 61.48 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.7016, allocations: 47.19 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.7016, allocations: 11.19 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.7018, allocations: 47.67 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.7018, allocations: 36.84 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.7019, allocations: 52.03 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.7021, allocations: 102.3 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7021, allocations: 2.688 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7021, allocations: 0 / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7021, allocations: 0 / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000636/0.7027, allocations: 436.3 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.7028, allocations: 10.48 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008216/0.7036, allocations: 116.5 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.7038, allocations: 183.9 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/0.7039, allocations: 64.83 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.7039, allocations: 6.156 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.7044, allocations: 173.8 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7044, allocations: 0.75 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.7045, allocations: 1.969 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7045, allocations: 1.906 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.7051, allocations: 163.5 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.7062, allocations: 495.5 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/0.7073, allocations: 219.7 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.7076, allocations: 81.44 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.7076, allocations: 5.594 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.7076, allocations: 31.69 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.7076, allocations: 0 / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.001016/0.7087, allocations: 263.5 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.7087, allocations: 51.41 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.7088, allocations: 141 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.7089, allocations: 26.95 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.7089, allocations: 114.4 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.709, allocations: 19.08 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.709, allocations: 24.31 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7092, allocations: 320.1 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.7095, allocations: 79.52 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.7098, allocations: 95.25 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.7104, allocations: 162.7 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7105, allocations: 0 / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000642/0.7111, allocations: 208 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7111, allocations: 9.406 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7111, allocations: 1.25 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7112, allocations: 5.25 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.7114, allocations: 34.05 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.7114, allocations: 1.25 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.7116, allocations: 32.41 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.7117, allocations: 7.484 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001061/0.7118, allocations: 115.1 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.7118, allocations: 7.969 kB / 1.089 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/0.7125, allocations: 212.5 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7125, allocations: 1.156 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7125, allocations: 0 / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.7125, allocations: 1.062 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.7128, allocations: 228.8 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7128, allocations: 7.875 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.7131, allocations: 40 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7131, allocations: 1 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.7131, allocations: 5.859 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.7131, allocations: 1.656 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7131, allocations: 0 / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.7138, allocations: 290.6 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.7139, allocations: 84.5 kB / 1.09 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.7139, allocations: 4.5 kB / 1.09 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.7142, allocations: 33.59 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.7143, allocations: 3.766 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.7143, allocations: 7.656 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.849e-05/0.7144, allocations: 114.5 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7144, allocations: 0 / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002603/0.7147, allocations: 27.62 kB / 1.09 GB, free: 12.57 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 (6): * Single equations (assignments): 6 * 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.0001246/0.7148, allocations: 101 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006626/0.7155, allocations: 168.4 kB / 1.09 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7155, allocations: 0 / 1.09 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.7158, allocations: 81.73 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.7161, allocations: 4.844 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.7167, allocations: 319.2 kB / 1.09 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.7171, allocations: 0.7029 MB / 1.091 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.7172, allocations: 15.81 kB / 1.091 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7172, allocations: 0 / 1.091 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.003444/0.7206, allocations: 1.605 MB / 1.093 GB, free: 11.35 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches