Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 105.8 kB / 15.99 MB, free: 6.359 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.001317/0.001317, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.515/2.515, allocations: 437.1 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.08 kB / 0.8694 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2932, allocations: 151.6 MB / 1.018 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002077/0.2953, allocations: 0.78 MB / 1.018 GB, free: 10.19 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2969, allocations: 1.126 MB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.2969, allocations: 7.875 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.297, allocations: 0 / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.2971, allocations: 19.84 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.2976, allocations: 120.2 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.2978, allocations: 131.8 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.2979, allocations: 11.98 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.2979, allocations: 43.92 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.298, allocations: 43.81 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.2981, allocations: 12 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.2981, allocations: 27.98 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.2982, allocations: 4 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.2983, allocations: 47.78 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2984, allocations: 99.78 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2984, allocations: 4 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2984, allocations: 0 / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2984, allocations: 0 / 1.02 GB, free: 8.488 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005554/0.299, allocations: 397.2 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.299, allocations: 12.92 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.2991, allocations: 8.844 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2993, allocations: 176.3 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2993, allocations: 4.375 kB / 1.02 GB, free: 7.809 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2993, allocations: 8.375 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2994, allocations: 42.25 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.2995, allocations: 192 / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2995, allocations: 7.938 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2995, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.2995, allocations: 15.92 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.3, allocations: 332.8 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.11e-05/0.3001, allocations: 30.52 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.3001, allocations: 12.92 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.3001, allocations: 3.938 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3003, allocations: 71.31 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3003, allocations: 0 / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.3005, allocations: 81.58 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3006, allocations: 55.41 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3007, allocations: 121.8 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3008, allocations: 33.7 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.3008, allocations: 92.05 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.3009, allocations: 3.906 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.3009, allocations: 33.7 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3011, allocations: 318.8 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.3012, allocations: 39.92 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3013, allocations: 58.5 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3015, allocations: 92.2 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3015, allocations: 4 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002983/0.3018, allocations: 159.3 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.3019, allocations: 37.69 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3019, allocations: 4 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.3019, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.302, allocations: 7.938 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.302, allocations: 0 / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3022, allocations: 27.88 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3022, allocations: 12.28 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001157/0.3023, allocations: 122.3 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3024, allocations: 4 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.3024, allocations: 11.89 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3024, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3024, allocations: 3.984 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3024, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3026, allocations: 169.6 kB / 1.022 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3026, allocations: 8.062 kB / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.3026, allocations: 4 kB / 1.022 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3026, allocations: 0 / 1.022 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3027, allocations: 11.92 kB / 1.022 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3027, allocations: 4 kB / 1.022 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3027, allocations: 0 / 1.022 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3028, allocations: 88.91 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.3029, allocations: 89.02 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3029, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.3029, allocations: 7.984 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.303, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.303, allocations: 4 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.966e-05/0.303, allocations: 99.7 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3031, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002324/0.3033, allocations: 20 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001811/0.3035, allocations: 107.2 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3037, allocations: 139.4 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3038, allocations: 4.062 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.3038, allocations: 15.94 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.304, allocations: 24.81 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.3044, allocations: 187.8 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3047, allocations: 0.6846 MB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.3048, allocations: 11.44 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3048, allocations: 0 / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of Templates: time 0.003052/0.3078, allocations: 1.149 MB / 1.025 GB, free: 2.844 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches