Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.00116/0.00116, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9273, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002048/0.9294, allocations: 0.7506 MB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.9308, allocations: 1.155 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.9309, allocations: 1.156 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.9309, allocations: 4.594 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.931, allocations: 11.67 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.9315, allocations: 132 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.9317, allocations: 127.4 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.9318, allocations: 16.91 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.9319, allocations: 53.09 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.9321, allocations: 50.44 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.9321, allocations: 10.66 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.9322, allocations: 24.38 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.9322, allocations: 16.69 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.9323, allocations: 43.64 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.9325, allocations: 108.7 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9325, allocations: 0 / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9325, allocations: 5.062 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9326, allocations: 0 / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005388/0.9331, allocations: 414.3 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.9331, allocations: 10.16 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.9332, allocations: 7.375 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.896e-05/0.9333, allocations: 180.6 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.9333, allocations: 8 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.9333, allocations: 7.547 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.9335, allocations: 68.75 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.9335, allocations: 192 / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.9336, allocations: 6.078 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.9336, allocations: 1.469 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.9338, allocations: 44.33 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.9342, allocations: 340 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.9344, allocations: 63.03 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.9345, allocations: 29.42 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.9346, allocations: 0.875 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.9348, allocations: 91.34 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.9348, allocations: 0.7188 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004762/0.9353, allocations: 144.7 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.9353, allocations: 57.56 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.9354, allocations: 122.1 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.9355, allocations: 29.16 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.9355, allocations: 89.36 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.9355, allocations: 27.97 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.9356, allocations: 38.69 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.9357, allocations: 327.2 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.9359, allocations: 50.17 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.9361, allocations: 83.25 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.9363, allocations: 141.6 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.9364, allocations: 4.656 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004725/0.9368, allocations: 213 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.9369, allocations: 39.31 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9369, allocations: 1.219 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.9369, allocations: 2.719 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.937, allocations: 10.98 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9371, allocations: 1.844 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.9373, allocations: 38.5 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.9373, allocations: 8.625 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7.821e-05/0.9374, allocations: 129.7 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.9374, allocations: 8.109 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.9374, allocations: 9.891 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9375, allocations: 2.125 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9375, allocations: 0 / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9375, allocations: 0.8594 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.9379, allocations: 380.2 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9379, allocations: 3.938 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.938, allocations: 12.58 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.938, allocations: 0.75 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.938, allocations: 1.438 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.938, allocations: 1.5 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.938, allocations: 0.6875 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.9383, allocations: 221.1 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.9384, allocations: 83.77 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.9384, allocations: 2.328 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.9385, allocations: 6.172 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.9386, allocations: 14.2 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.9386, allocations: 3.172 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.9386, allocations: 95.44 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9386, allocations: 3.938 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002827/0.9389, allocations: 25.81 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001428/0.9391, allocations: 106.3 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.9395, allocations: 175.1 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9395, allocations: 4.062 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.9396, allocations: 39 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.9399, allocations: 16.28 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.9403, allocations: 196.7 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.9405, allocations: 0.6921 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.9405, allocations: 16.19 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 4.8e-07/0.9405, allocations: 0 / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.003729/0.9443, allocations: 1.269 MB / 1.097 GB, free: 15.72 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches