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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00111/0.001109, allocations: 107 kB / 16.36 MB, free: 6.336 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.001106/0.001106, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 68.27 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.321, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002169/0.3233, allocations: 0.7189 MB / 1.02 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3247, allocations: 1.134 MB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.3248, allocations: 0 / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.3248, allocations: 3.938 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.3249, allocations: 11.88 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3254, allocations: 141 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3256, allocations: 135.8 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.3257, allocations: 11.98 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.3258, allocations: 39.92 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3259, allocations: 43.88 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3259, allocations: 12 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.097e-05/0.326, allocations: 31.92 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.326, allocations: 7.938 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.3261, allocations: 43.84 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.3263, allocations: 135.7 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.3263, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.297e-06/0.3264, allocations: 4 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3264, allocations: 0 / 1.021 GB, free: 7.344 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.0005493/0.3269, allocations: 397 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.327, allocations: 8.922 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.327, allocations: 16.83 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3272, allocations: 172.2 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.3272, allocations: 8.312 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3273, allocations: 8.312 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.724e-05/0.3274, allocations: 46.25 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3274, allocations: 4.188 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3274, allocations: 3.938 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3274, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.3274, allocations: 15.98 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.3279, allocations: 324.8 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/0.328, allocations: 34.45 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.328, allocations: 12.92 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.328, allocations: 4 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.3281, allocations: 71.36 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.028e-05/0.3281, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000201/0.3283, allocations: 77.53 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3284, allocations: 51.41 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3285, allocations: 129.8 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3285, allocations: 29.7 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.3286, allocations: 96.05 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.3286, allocations: 7.906 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3287, allocations: 29.7 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3288, allocations: 318.8 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3289, allocations: 35.98 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.329, allocations: 54.56 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3291, allocations: 100.1 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3291, allocations: 0 / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002694/0.3294, allocations: 163.3 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.3294, allocations: 41.69 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3295, allocations: 0 / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3295, allocations: 0 / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3295, allocations: 4 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3295, allocations: 3.938 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3297, allocations: 32 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3298, allocations: 11.98 kB / 1.023 GB, free: 4.809 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.3299, allocations: 125.7 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3299, allocations: 4 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.3299, allocations: 7.906 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3299, allocations: 0 / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3299, allocations: 0 / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.33, allocations: 7.938 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3301, allocations: 177.6 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3301, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.3302, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3302, allocations: 4 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3302, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3302, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3302, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.3303, allocations: 101 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3304, allocations: 81.02 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3304, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.805e-05/0.3304, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.3304, allocations: 15.92 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3304, allocations: 0 / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.3305, allocations: 95.27 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3305, allocations: 0 / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002072/0.3307, allocations: 20 kB / 1.024 GB, free: 4.082 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.0001712/0.3309, allocations: 107.2 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3311, allocations: 139.4 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3311, allocations: 0 / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.3312, allocations: 19.94 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.3314, allocations: 15.92 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.3317, allocations: 150.3 kB / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.332, allocations: 0.6846 MB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.332, allocations: 8.406 kB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.332, allocations: 7.438 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.332, allocations: 0 / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of Templates: time 0.003948/0.336, allocations: 1.346 MB / 1.026 GB, free: 1.555 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=480 -s gbode -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