Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 108.4 kB / 16.27 MB, free: 6.414 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.001532/0.001532, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.492/1.492, allocations: 222.9 MB / 240.9 MB, free: 15.27 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 2.534/2.534, allocations: 437.1 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.66 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2887, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002327/0.291, allocations: 0.9666 MB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.293, allocations: 1.438 MB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.2931, allocations: 0 / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.2931, allocations: 19.73 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.2933, allocations: 47.56 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2943, allocations: 443 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.2948, allocations: 0.5147 MB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.295, allocations: 53.62 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.2952, allocations: 175.6 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2954, allocations: 139.5 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.2955, allocations: 48 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2956, allocations: 67.92 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.2957, allocations: 43.83 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2959, allocations: 163.4 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.2964, allocations: 0.4911 MB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2964, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2964, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2964, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000891/0.2973, allocations: 0.6378 MB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2974, allocations: 8.031 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.848e-05/0.2975, allocations: 32.66 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.2977, allocations: 215 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.2977, allocations: 12.38 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.2978, allocations: 28.36 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.298, allocations: 125.5 kB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2981, allocations: 192 / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2981, allocations: 11.94 kB / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2981, allocations: 0 / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2982, allocations: 59.91 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2993, allocations: 0.8717 MB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.2994, allocations: 122.4 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.123e-05/0.2995, allocations: 59.42 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.2995, allocations: 0 / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.2998, allocations: 172.1 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.2998, allocations: 0 / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0004758/0.3003, allocations: 225.3 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.3004, allocations: 148.4 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.3007, allocations: 244.9 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.3007, allocations: 37.7 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3009, allocations: 128.5 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.3009, allocations: 31.61 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.3011, allocations: 89.66 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3013, allocations: 334.8 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.3016, allocations: 144.2 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.3019, allocations: 231.6 kB / 1.026 GB, free: 1.738 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.3024, allocations: 364.9 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3025, allocations: 8 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009289/0.3034, allocations: 0.5545 MB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.3035, allocations: 134.8 kB / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3035, allocations: 4 kB / 1.027 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3035, allocations: 4 kB / 1.027 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.3036, allocations: 11.94 kB / 1.027 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3036, allocations: 7.984 kB / 1.027 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.3044, allocations: 115.9 kB / 1.027 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.3044, allocations: 27.97 kB / 1.027 GB, free: 412 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002011/0.3046, allocations: 154.6 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.3047, allocations: 19.81 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.3048, allocations: 21.23 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3048, allocations: 7.938 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3048, allocations: 0 / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.3048, allocations: 7.938 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.3051, allocations: 265.4 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3051, allocations: 4 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.3052, allocations: 4 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.3052, allocations: 8 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3052, allocations: 11.94 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3052, allocations: 3.984 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3052, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.3055, allocations: 213.5 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.3056, allocations: 97.75 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3057, allocations: 12 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.3057, allocations: 4 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.3058, allocations: 23.84 kB / 1.028 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3058, allocations: 8 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001517/0.3059, allocations: 168.5 kB / 1.028 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3059, allocations: 0 / 1.028 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003258/0.3063, allocations: 64 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001821/0.3065, allocations: 119.5 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007752/0.3072, allocations: 0.5288 MB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3073, allocations: 0 / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3074, allocations: 88.27 kB / 1.029 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.3079, allocations: 67.48 kB / 1.029 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.3085, allocations: 376.7 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3089, allocations: 0.7319 MB / 1.03 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.309, allocations: 19.44 kB / 1.03 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.309, allocations: 0 / 1.03 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of Templates: time 0.005963/0.3149, allocations: 3.48 MB / 1.034 GB, free: 9.73 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches