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.001192/0.001192, allocations: 98.48 kB / 16.02 MB, free: 76 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.001482/0.001483, allocations: 187.2 kB / 16.92 MB, free: 6.75 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.513/2.513, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004034, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8199, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0009406/0.8209, allocations: 483.5 kB / 0.9562 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.8223, allocations: 1.15 MB / 0.9573 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.8223, allocations: 1.438 kB / 0.9573 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.8223, allocations: 0 / 0.9573 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.8224, allocations: 5.344 kB / 0.9573 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.8229, allocations: 128.8 kB / 0.9574 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.823, allocations: 106.2 kB / 0.9575 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.8231, allocations: 10.53 kB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.8232, allocations: 39.16 kB / 0.9576 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.8233, allocations: 41.94 kB / 0.9576 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.8233, allocations: 5.938 kB / 0.9576 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.8234, allocations: 23.7 kB / 0.9577 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.8234, allocations: 6.25 kB / 0.9577 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.8235, allocations: 66.45 kB / 0.9577 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.8236, allocations: 76.69 kB / 0.9578 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8237, allocations: 1.094 kB / 0.9578 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8237, allocations: 0 / 0.9578 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8237, allocations: 0 / 0.9578 GB, free: 6.152 MB / 0.7169 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.000499/0.8242, allocations: 398.9 kB / 0.9582 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.8242, allocations: 8.625 kB / 0.9582 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.8243, allocations: 14.34 kB / 0.9582 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.8244, allocations: 171.7 kB / 0.9584 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.8244, allocations: 11.77 kB / 0.9584 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.8244, allocations: 7.938 kB / 0.9584 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.8246, allocations: 64.33 kB / 0.9584 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8247, allocations: 192 / 0.9584 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.8247, allocations: 12.98 kB / 0.9585 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8247, allocations: 5.094 kB / 0.9585 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.8249, allocations: 48.41 kB / 0.9585 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.8253, allocations: 331.6 kB / 0.9588 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.8255, allocations: 67.89 kB / 0.9589 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.8257, allocations: 50.52 kB / 0.9589 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.8257, allocations: 0 / 0.9589 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.8259, allocations: 89.77 kB / 0.959 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.8259, allocations: 0 / 0.959 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004564/0.8264, allocations: 161.9 kB / 0.9592 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.8264, allocations: 56.84 kB / 0.9592 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.8265, allocations: 115.6 kB / 0.9593 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.8265, allocations: 29.45 kB / 0.9594 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.8266, allocations: 95.75 kB / 0.9595 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.8266, allocations: 23.25 kB / 0.9595 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.8266, allocations: 23.11 kB / 0.9595 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.8267, allocations: 316.7 kB / 0.9598 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.8268, allocations: 57.11 kB / 0.9599 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.827, allocations: 91.69 kB / 0.96 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.8273, allocations: 154.2 kB / 0.9601 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8273, allocations: 0 / 0.9601 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000428/0.8277, allocations: 227.8 kB / 0.9603 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.8278, allocations: 39.03 kB / 0.9604 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8278, allocations: 1.375 kB / 0.9604 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.8278, allocations: 1.375 kB / 0.9604 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.8279, allocations: 21.62 kB / 0.9604 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8279, allocations: 10.67 kB / 0.9604 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.8282, allocations: 47.59 kB / 0.9604 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.8282, allocations: 10.86 kB / 0.9604 GB, free: 3.773 MB / 0.7169 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 7.843e-05/0.8283, allocations: 124.7 kB / 0.9606 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.8283, allocations: 14.64 kB / 0.9606 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.8283, allocations: 9.75 kB / 0.9606 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8283, allocations: 1.375 kB / 0.9606 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8283, allocations: 1.375 kB / 0.9606 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8284, allocations: 3.984 kB / 0.9606 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.8288, allocations: 385.6 kB / 0.961 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8288, allocations: 0 / 0.961 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.8289, allocations: 11.8 kB / 0.961 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8289, allocations: 1.312 kB / 0.961 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.8289, allocations: 0 / 0.961 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8289, allocations: 1.188 kB / 0.961 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8289, allocations: 0 / 0.961 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.8292, allocations: 226.4 kB / 0.9612 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.8292, allocations: 86.7 kB / 0.9613 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.8293, allocations: 5.984 kB / 0.9613 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.8294, allocations: 10.16 kB / 0.9613 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.8294, allocations: 10.61 kB / 0.9613 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.8294, allocations: 10.28 kB / 0.9613 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.8295, allocations: 92.89 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8295, allocations: 0 / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002632/0.8297, allocations: 20.44 kB / 0.9614 GB, free: 2.871 MB / 0.7169 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.0001572/0.8299, allocations: 107.2 kB / 0.9615 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000382/0.8303, allocations: 193.7 kB / 0.9617 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8303, allocations: 0 / 0.9617 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.8304, allocations: 44.55 kB / 0.9617 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.8307, allocations: 14.92 kB / 0.9618 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.8311, allocations: 204.9 kB / 0.962 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.8312, allocations: 0.6891 MB / 0.9626 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.8313, allocations: 10.56 kB / 0.9626 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8313, allocations: 1.094 kB / 0.9626 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.003034/0.8343, allocations: 1.249 MB / 0.9639 GB, free: 1.094 MB / 0.7169 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 -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