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.001519/0.001519, allocations: 100.1 kB / 15.88 MB, free: 12 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.001651/0.001651, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.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.578/2.578, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.89 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7173, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00232/0.7197, allocations: 0.7934 MB / 1.018 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.7214, allocations: 1.136 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.7215, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.7215, allocations: 3.938 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.199e-05/0.7216, allocations: 11.92 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.7221, allocations: 117.5 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.7222, allocations: 111.8 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.7224, allocations: 11.97 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.7224, allocations: 35.92 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.7225, allocations: 31.89 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.7226, allocations: 7.984 kB / 1.02 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/0.7227, allocations: 23.92 kB / 1.02 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.7227, allocations: 7.938 kB / 1.02 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.7228, allocations: 35.84 kB / 1.02 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.7229, allocations: 103.8 kB / 1.02 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.723, allocations: 0 / 1.02 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.272e-06/0.723, allocations: 0 / 1.02 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.723, allocations: 0 / 1.02 GB, free: 0.4961 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006488/0.7236, allocations: 391.2 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.7237, allocations: 8.031 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.7237, allocations: 12.83 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.7239, allocations: 184.2 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.724, allocations: 384 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.724, allocations: 12.38 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.7241, allocations: 46.19 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7241, allocations: 192 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7241, allocations: 3.938 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7242, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.7242, allocations: 19.98 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.7247, allocations: 316.9 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.556e-05/0.7248, allocations: 42.45 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.7248, allocations: 8.922 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.7248, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.725, allocations: 67.38 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.725, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002279/0.7253, allocations: 77.53 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.7253, allocations: 59.41 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.7254, allocations: 129.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.7255, allocations: 29.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.7255, allocations: 92.05 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.7256, allocations: 11.83 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.7256, allocations: 29.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7258, allocations: 322.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.7259, allocations: 39.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.726, allocations: 54.56 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.7261, allocations: 96.14 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7261, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002902/0.7264, allocations: 163.3 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.7265, allocations: 37.69 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7265, allocations: 4.062 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7265, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/0.7265, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7266, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.7268, allocations: 35.81 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.7268, allocations: 7.984 kB / 1.022 GB, free: 13.97 MB / 0.7794 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.0001049/0.7269, allocations: 121.8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.7269, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.727, allocations: 12.14 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.727, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.727, allocations: 3.984 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.727, allocations: 7.922 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.7271, allocations: 177.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7271, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.7272, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7272, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.7272, allocations: 7.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7272, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7272, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.7273, allocations: 89.03 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.7274, allocations: 89.02 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.7274, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.7274, allocations: 7.922 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.7275, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.7275, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.7275, allocations: 99.27 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.543e-06/0.7275, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002218/0.7278, allocations: 27.88 kB / 1.022 GB, free: 13.23 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: 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.0001633/0.7279, allocations: 111.2 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.7282, allocations: 131.4 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7282, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.7282, allocations: 15.94 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.7285, allocations: 28.05 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.7288, allocations: 173.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.7291, allocations: 0.6848 MB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.7291, allocations: 11.44 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7291, allocations: 4 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of Templates: time 0.002873/0.732, allocations: 1.153 MB / 1.025 GB, free: 10.86 MB / 0.7794 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 -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