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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001478/0.001478, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.551 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.491/2.491, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6842, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002164/0.6865, allocations: 0.799 MB / 0.9498 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.6876, allocations: 1.163 MB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.6876, allocations: 1.625 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.6877, allocations: 0 / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.6878, allocations: 9.438 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.6883, allocations: 125.4 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.6884, allocations: 103.8 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.6886, allocations: 13.3 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.6887, allocations: 40.47 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.6888, allocations: 38.89 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.6888, allocations: 5.5 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.013e-05/0.6889, allocations: 28.28 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.689, allocations: 10.67 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.689, allocations: 44.22 kB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.6893, allocations: 104.4 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6893, allocations: 0 / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6893, allocations: 0 / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6893, allocations: 5.312 kB / 0.9515 GB, free: 7.258 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.0006594/0.69, allocations: 410.8 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.69, allocations: 9.625 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.6901, allocations: 36.11 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.6902, allocations: 10.34 kB / 0.9519 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6903, allocations: 180.3 kB / 0.9521 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.6903, allocations: 7.125 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.6904, allocations: 6.625 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.6906, allocations: 68.19 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.6906, allocations: 3.938 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.6907, allocations: 1.469 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6907, allocations: 0 / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.691, allocations: 47.7 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.6915, allocations: 323 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.6916, allocations: 63.7 kB / 0.9526 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6917, allocations: 36.84 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.6918, allocations: 0 / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.692, allocations: 93.06 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.692, allocations: 0 / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005995/0.6926, allocations: 143.2 kB / 0.9529 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.6927, allocations: 56.77 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.6928, allocations: 116.2 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.6928, allocations: 33.73 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.6929, allocations: 90.8 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.6929, allocations: 26.36 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.693, allocations: 37.39 kB / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.6931, allocations: 320.2 kB / 0.9535 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.6933, allocations: 56.12 kB / 0.9536 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.6936, allocations: 84.75 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.694, allocations: 144.2 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.694, allocations: 4 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004804/0.6945, allocations: 209.8 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.6946, allocations: 36.84 kB / 0.954 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6946, allocations: 5.375 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6946, allocations: 5.797 kB / 0.954 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.6947, allocations: 16.3 kB / 0.954 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6947, allocations: 1.531 kB / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.695, allocations: 35.7 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.695, allocations: 6.844 kB / 0.9541 GB, free: 4.836 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 8.186e-05/0.6951, allocations: 127.7 kB / 0.9542 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.6951, allocations: 10.44 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.6951, allocations: 13.83 kB / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6951, allocations: 1.375 kB / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6952, allocations: 0 / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6952, allocations: 0 / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.6956, allocations: 380.4 kB / 0.9546 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6956, allocations: 0 / 0.9546 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.6957, allocations: 5.75 kB / 0.9546 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6957, allocations: 0 / 0.9546 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.6957, allocations: 9.266 kB / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6957, allocations: 1 kB / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6957, allocations: 0 / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.696, allocations: 212.9 kB / 0.9548 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.696, allocations: 87.55 kB / 0.9549 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.696, allocations: 5.312 kB / 0.9549 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.6961, allocations: 11.36 kB / 0.9549 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.6962, allocations: 7.656 kB / 0.9549 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.6962, allocations: 5.359 kB / 0.9549 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.6962, allocations: 87.97 kB / 0.955 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6962, allocations: 0 / 0.955 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002658/0.6965, allocations: 28.8 kB / 0.955 GB, free: 3.934 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.000591/0.6971, allocations: 0.7465 MB / 0.9558 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.6976, allocations: 179.7 kB / 0.9559 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6976, allocations: 1.125 kB / 0.9559 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.6978, allocations: 43.03 kB / 0.956 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.6983, allocations: 11.31 kB / 0.956 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.7007, allocations: 1.705 MB / 0.9577 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.7009, allocations: 0.6888 MB / 0.9583 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.378e-05/0.701, allocations: 8.438 kB / 0.9583 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.701, allocations: 23.02 kB / 0.9584 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.701, allocations: 0 / 0.9584 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.7175, allocations: 2.314 MB / 0.9606 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.7178, allocations: 205.1 kB / 0.9608 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.513, allocations: 0 / 0.9608 GB, free: 15.39 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > 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