Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.001113/0.001113, allocations: 108 kB / 15.6 MB, free: 132 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.001459/0.001459, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.43 MB / 190.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.421/2.421, allocations: 390.3 MB / 0.6647 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 67.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7043, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002213/0.7066, allocations: 0.8294 MB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.7082, allocations: 1.478 MB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.7083, allocations: 2.531 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.7084, allocations: 17.02 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.7085, allocations: 30.31 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.7096, allocations: 0.5121 MB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.71, allocations: 0.4893 MB / 0.953 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.7102, allocations: 44.36 kB / 0.9531 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.7104, allocations: 180.1 kB / 0.9532 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.7105, allocations: 147.5 kB / 0.9534 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.152e-05/0.7106, allocations: 40.41 kB / 0.9534 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.7108, allocations: 59.33 kB / 0.9535 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.7108, allocations: 42.95 kB / 0.9535 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.711, allocations: 162.4 kB / 0.9537 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.7114, allocations: 402 kB / 0.954 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.7114, allocations: 0.9688 kB / 0.9541 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7114, allocations: 0 / 0.9541 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.7114, allocations: 0 / 0.9541 GB, free: 6.039 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006482/0.7121, allocations: 0.6463 MB / 0.9547 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7121, allocations: 12.84 kB / 0.9547 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.7122, allocations: 47.83 kB / 0.9547 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.7123, allocations: 32.59 kB / 0.9548 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.7125, allocations: 258.8 kB / 0.955 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.7126, allocations: 17.88 kB / 0.955 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.7126, allocations: 33.36 kB / 0.9551 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.7129, allocations: 157 kB / 0.9552 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7129, allocations: 6.594 kB / 0.9552 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.7129, allocations: 4 kB / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.7129, allocations: 2.688 kB / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.7131, allocations: 85.98 kB / 0.9553 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.7137, allocations: 0.7076 MB / 0.956 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.7139, allocations: 174.1 kB / 0.9562 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.714, allocations: 45.58 kB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.714, allocations: 1.344 kB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.7143, allocations: 161.3 kB / 0.9564 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.7143, allocations: 0 / 0.9564 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004242/0.7147, allocations: 238.5 kB / 0.9566 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7147, allocations: 63.48 kB / 0.9567 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.7149, allocations: 187.3 kB / 0.9568 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.7149, allocations: 39.39 kB / 0.9569 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.715, allocations: 126.4 kB / 0.957 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.715, allocations: 39.38 kB / 0.957 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.7152, allocations: 112.5 kB / 0.9571 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.7153, allocations: 330.9 kB / 0.9575 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.7156, allocations: 162.2 kB / 0.9576 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.7159, allocations: 236.3 kB / 0.9578 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.7162, allocations: 406.6 kB / 0.9582 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7162, allocations: 3.938 kB / 0.9582 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008545/0.7171, allocations: 0.6161 MB / 0.9588 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.7172, allocations: 164 kB / 0.959 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7172, allocations: 7.25 kB / 0.959 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7172, allocations: 4.125 kB / 0.959 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.073e-05/0.7173, allocations: 13.11 kB / 0.959 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.7173, allocations: 8.188 kB / 0.959 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.7181, allocations: 152 kB / 0.9592 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.7182, allocations: 34.59 kB / 0.9592 GB, free: 1.773 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001393/0.7183, allocations: 162.2 kB / 0.9593 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.7183, allocations: 19.16 kB / 0.9594 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.7184, allocations: 16.03 kB / 0.9594 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7184, allocations: 6.531 kB / 0.9594 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.7184, allocations: 0.7188 kB / 0.9594 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7184, allocations: 3.984 kB / 0.9594 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.7188, allocations: 0.5076 MB / 0.9599 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7189, allocations: 1.094 kB / 0.9599 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.7189, allocations: 7.531 kB / 0.9599 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7189, allocations: 0 / 0.9599 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.7189, allocations: 10.64 kB / 0.9599 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7189, allocations: 0.875 kB / 0.9599 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7189, allocations: 4.906 kB / 0.9599 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.7192, allocations: 286.7 kB / 0.9602 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.7192, allocations: 89.27 kB / 0.9603 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.7192, allocations: 6.125 kB / 0.9603 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.7193, allocations: 5.375 kB / 0.9603 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.7193, allocations: 20.16 kB / 0.9603 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.7194, allocations: 10.44 kB / 0.9603 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.7194, allocations: 125.7 kB / 0.9604 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7194, allocations: 0 / 0.9604 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000353/0.7198, allocations: 81.09 kB / 0.9605 GB, free: 0.7148 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000491/0.7203, allocations: 0.827 MB / 0.9613 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007791/0.7211, allocations: 0.6256 MB / 0.9619 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7211, allocations: 1.219 kB / 0.9619 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.7212, allocations: 77.94 kB / 0.962 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.7216, allocations: 54.56 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.7252, allocations: 2.994 MB / 0.965 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.7256, allocations: 0.7325 MB / 0.9657 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.729e-05/0.7257, allocations: 23.98 kB / 0.9657 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.7258, allocations: 53.55 kB / 0.9658 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7258, allocations: 1 kB / 0.9658 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.7529, allocations: 6.326 MB / 0.9719 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.557, allocations: 6.047 kB / 0.9719 GB, free: 9.098 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches