Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001655/0.001655, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 66.05 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3029, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002255/0.3052, allocations: 0.7613 MB / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3069, allocations: 1.142 MB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.307, allocations: 4 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.3071, allocations: 3.938 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.3071, allocations: 11.86 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.3077, allocations: 135.1 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.3079, allocations: 127.7 kB / 0.9533 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.308, allocations: 15.98 kB / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.3081, allocations: 43.91 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3082, allocations: 47.88 kB / 0.9534 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3082, allocations: 8 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.621e-05/0.3083, allocations: 27.97 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.3083, allocations: 11.94 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.3084, allocations: 43.84 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3086, allocations: 111.7 kB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3086, allocations: 0 / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3086, allocations: 7.938 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3086, allocations: 0 / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006982/0.3093, allocations: 416.9 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3094, allocations: 8.031 kB / 0.954 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.3094, allocations: 8.844 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3096, allocations: 172.3 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3096, allocations: 4.375 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3096, allocations: 8.375 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3098, allocations: 62.22 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3098, allocations: 192 / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3099, allocations: 3.938 kB / 0.9542 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3099, allocations: 8 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3101, allocations: 43.89 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.3107, allocations: 328.7 kB / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3109, allocations: 58.55 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.311, allocations: 36.97 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.311, allocations: 3.938 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.3112, allocations: 95.33 kB / 0.9548 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.3113, allocations: 0 / 0.9548 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004272/0.3117, allocations: 133.9 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3118, allocations: 63.39 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3119, allocations: 129.6 kB / 0.9551 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3119, allocations: 33.64 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.312, allocations: 92.12 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.312, allocations: 15.8 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.3121, allocations: 37.7 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3122, allocations: 326.8 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.3124, allocations: 47.97 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3126, allocations: 88.25 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3128, allocations: 149.9 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3129, allocations: 0 / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004718/0.3133, allocations: 211.2 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.3134, allocations: 37.73 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3134, allocations: 0 / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3134, allocations: 4 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.3135, allocations: 15.98 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3135, allocations: 0 / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.3137, allocations: 35.89 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3137, allocations: 8 kB / 0.9561 GB, free: 2.641 MB / 0.7325 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,change.y,change.u,$PRE.change.u,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 0.0001222/0.3139, allocations: 132.7 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.3139, allocations: 7.906 kB / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.3139, allocations: 16.36 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3139, allocations: 4.047 kB / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.314, allocations: 4 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.314, allocations: 0 / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.3145, allocations: 382.3 kB / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3145, allocations: 0 / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.3146, allocations: 8 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3146, allocations: 0 / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3146, allocations: 3.984 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3146, allocations: 3.938 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3146, allocations: 4 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3149, allocations: 207.4 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.315, allocations: 81.02 kB / 0.9569 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.315, allocations: 4 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.3151, allocations: 7.984 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.3152, allocations: 11.94 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3152, allocations: 3.938 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.581e-05/0.3152, allocations: 91.27 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3152, allocations: 0 / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002539/0.3155, allocations: 20 kB / 0.9571 GB, free: 1.57 MB / 0.7325 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.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.0001774/0.3157, allocations: 115.2 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.3161, allocations: 179.2 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3161, allocations: 0 / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3162, allocations: 43.91 kB / 0.9574 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3165, allocations: 10.28 kB / 0.9574 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.3169, allocations: 168.6 kB / 0.9576 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3173, allocations: 0.6922 MB / 0.9582 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.3173, allocations: 4 kB / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.3174, allocations: 15.42 kB / 0.9583 GB, free: 284 kB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3174, allocations: 4 kB / 0.9583 GB, free: 280 kB / 0.7325 GB Notification: Performance of Templates: time 0.004249/0.3216, allocations: 1.449 MB / 0.9597 GB, free: 14.84 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches