Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.007975/0.007975, allocations: 100.6 kB / 15.73 MB, free: 5.562 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.001921/0.001921, allocations: 198.4 kB / 16.67 MB, free: 5.504 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 / 240.4 MB, free: 15.17 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.383/2.383, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.8045, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001728/0.8062, allocations: 0.6597 MB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.8075, allocations: 1.183 MB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.8075, allocations: 1.062 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.8076, allocations: 4.688 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.8076, allocations: 14.72 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.8082, allocations: 220.2 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.8085, allocations: 178.8 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.8085, allocations: 6.938 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.8086, allocations: 70.91 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.8088, allocations: 65.2 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.8088, allocations: 15.19 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.8089, allocations: 33.28 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.8089, allocations: 13.91 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.809, allocations: 56.09 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.8093, allocations: 149.3 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8093, allocations: 5.969 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8093, allocations: 0 / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8093, allocations: 0 / 1.09 GB, free: 3.641 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004213/0.8097, allocations: 432 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.8098, allocations: 13.53 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.8098, allocations: 33.33 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.8099, allocations: 11.56 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.81, allocations: 173.2 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.81, allocations: 4.812 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.81, allocations: 13.5 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.8101, allocations: 50.12 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.8101, allocations: 3.938 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.8101, allocations: 2.422 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.8101, allocations: 0 / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.8102, allocations: 21.39 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.8106, allocations: 354.6 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.853e-05/0.8107, allocations: 35.08 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.8107, allocations: 15.8 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-06/0.8107, allocations: 0.6094 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.8109, allocations: 81.64 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.8109, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002599/0.8112, allocations: 107.6 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.8112, allocations: 57.73 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.8113, allocations: 117.2 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.8114, allocations: 33.58 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.8114, allocations: 93.69 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.8114, allocations: 8.203 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.8115, allocations: 52.97 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.8116, allocations: 322.9 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.8117, allocations: 59.53 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.8118, allocations: 96.06 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.812, allocations: 166.1 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.812, allocations: 1.719 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004161/0.8124, allocations: 257.1 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.8125, allocations: 70.78 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8125, allocations: 2.062 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8125, allocations: 6.25 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.8126, allocations: 6.359 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8126, allocations: 2.859 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.8129, allocations: 59.88 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.813, allocations: 12.52 kB / 1.093 GB, free: 1.316 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 6.816e-05/0.813, allocations: 123.8 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.8131, allocations: 6.469 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.8131, allocations: 17.88 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8131, allocations: 1.062 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8131, allocations: 1.594 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.8131, allocations: 0.7031 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.8132, allocations: 178.2 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8132, allocations: 0.7969 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/0.8132, allocations: 5.938 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8132, allocations: 0.75 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8132, allocations: 6.547 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8132, allocations: 0 / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8132, allocations: 5.953 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.8134, allocations: 106 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.8134, allocations: 83.91 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.8134, allocations: 6.609 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.8134, allocations: 0.75 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.8135, allocations: 14.02 kB / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.8135, allocations: 2.953 kB / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.8135, allocations: 93.48 kB / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8135, allocations: 0 / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002454/0.8138, allocations: 31.61 kB / 1.093 GB, free: 0.6836 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0004118/0.8142, allocations: 0.6534 MB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.8146, allocations: 248.6 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8146, allocations: 0 / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.195e-05/0.8147, allocations: 27.06 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.8149, allocations: 19.66 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.817, allocations: 1.714 MB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.8172, allocations: 0.6857 MB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.8173, allocations: 6.375 kB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.8173, allocations: 15.72 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.8174, allocations: 5.312 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.8382, allocations: 2.945 MB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.987, allocations: 8.516 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches