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.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00182/0.00182, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.516/2.516, allocations: 390.3 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8094, allocations: 140.4 MB / 0.9492 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003262/0.8128, allocations: 0.8878 MB / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.8151, allocations: 1.472 MB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.8152, allocations: 5.312 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.8154, allocations: 9.266 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.8155, allocations: 30.73 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.8168, allocations: 499.2 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.8174, allocations: 0.4933 MB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.8176, allocations: 45.62 kB / 0.9526 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.8178, allocations: 174.3 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.818, allocations: 144.9 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.473e-05/0.8181, allocations: 40.44 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.8183, allocations: 58.39 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.047e-05/0.8183, allocations: 43.25 kB / 0.953 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.8185, allocations: 163 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.819, allocations: 415.6 kB / 0.9536 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.819, allocations: 4 kB / 0.9536 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.819, allocations: 0 / 0.9536 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.819, allocations: 0 / 0.9536 GB, free: 5.926 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.000798/0.8198, allocations: 0.6384 MB / 0.9542 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.8199, allocations: 13.39 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.8199, allocations: 43.22 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.82, allocations: 36.27 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.8204, allocations: 259.4 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.8204, allocations: 17.16 kB / 0.9546 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/0.8205, allocations: 33.41 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.8208, allocations: 153.6 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.8208, allocations: 3.938 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.8208, allocations: 14.39 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8208, allocations: 2.594 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.821, allocations: 84.23 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.8218, allocations: 0.7131 MB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.822, allocations: 169.9 kB / 0.9557 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.8221, allocations: 46.88 kB / 0.9558 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.8221, allocations: 4.172 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.8223, allocations: 151.1 kB / 0.9559 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.8223, allocations: 0 / 0.9559 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004793/0.8228, allocations: 248.7 kB / 0.9561 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.8229, allocations: 59.2 kB / 0.9562 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.823, allocations: 190.4 kB / 0.9564 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.8231, allocations: 40.17 kB / 0.9564 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.8232, allocations: 122.2 kB / 0.9565 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.8233, allocations: 39.23 kB / 0.9566 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.8235, allocations: 112.5 kB / 0.9567 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.8235, allocations: 327.4 kB / 0.957 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.8239, allocations: 158.2 kB / 0.9571 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.8242, allocations: 236.6 kB / 0.9574 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.8246, allocations: 414.5 kB / 0.9578 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8247, allocations: 0 / 0.9578 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009279/0.8256, allocations: 0.6154 MB / 0.9584 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/0.8257, allocations: 168.8 kB / 0.9585 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8257, allocations: 2.219 kB / 0.9585 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8257, allocations: 4.062 kB / 0.9585 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.8258, allocations: 14.84 kB / 0.9585 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8258, allocations: 7.266 kB / 0.9585 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/0.8266, allocations: 147.7 kB / 0.9587 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.8267, allocations: 30.17 kB / 0.9587 GB, free: 1.676 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.0002002/0.8269, allocations: 158 kB / 0.9589 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.827, allocations: 26.77 kB / 0.9589 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.827, allocations: 17.78 kB / 0.9589 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.827, allocations: 2.188 kB / 0.9589 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.827, allocations: 3.938 kB / 0.9589 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8271, allocations: 5.125 kB / 0.9589 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.8276, allocations: 0.5135 MB / 0.9594 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8276, allocations: 1.188 kB / 0.9594 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.8276, allocations: 6.594 kB / 0.9594 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8276, allocations: 1.062 kB / 0.9594 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.8277, allocations: 2.281 kB / 0.9594 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8277, allocations: 5.078 kB / 0.9594 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8277, allocations: 1.125 kB / 0.9594 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.828, allocations: 289.4 kB / 0.9597 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.828, allocations: 89.55 kB / 0.9598 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.8281, allocations: 9.109 kB / 0.9598 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.8281, allocations: 1.156 kB / 0.9598 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.8282, allocations: 20.59 kB / 0.9598 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.8282, allocations: 10.56 kB / 0.9598 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.875e-05/0.8283, allocations: 122.6 kB / 0.96 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8283, allocations: 1.312 kB / 0.96 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003897/0.8287, allocations: 84.25 kB / 0.96 GB, free: 0.6094 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.0006233/0.8293, allocations: 0.828 MB / 0.9608 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008925/0.8303, allocations: 0.6333 MB / 0.9615 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8303, allocations: 0 / 0.9615 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.8304, allocations: 75.73 kB / 0.9615 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.8308, allocations: 52.44 kB / 0.9616 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.835, allocations: 3.022 MB / 0.9645 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.8353, allocations: 0.7279 MB / 0.9653 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.997e-05/0.8354, allocations: 28.94 kB / 0.9653 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.692e-05/0.8355, allocations: 53.89 kB / 0.9653 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.8355, allocations: 0 / 0.9653 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.8586, allocations: 6.213 MB / 0.9714 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.8589, allocations: 198.5 kB / 0.9716 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.791, allocations: 1.828 kB / 0.9716 GB, free: 8.848 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