Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_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.007676/0.007676, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001714/0.001714, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.88 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.902/0.9034, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002135/0.9056, allocations: 0.8312 MB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.9075, allocations: 1.493 MB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.9077, allocations: 4 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.9078, allocations: 19.73 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.9079, allocations: 31.72 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.9093, allocations: 0.5215 MB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006841/0.91, allocations: 0.4953 MB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.9102, allocations: 41.48 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.9105, allocations: 183.6 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.9108, allocations: 183.5 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.911, allocations: 40 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.9111, allocations: 55.92 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.9112, allocations: 35.92 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.9114, allocations: 167.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.9119, allocations: 406.5 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.912, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.432e-06/0.912, allocations: 3.938 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.912, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 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.0009899/0.913, allocations: 0.6514 MB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.913, allocations: 8.625 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.9131, allocations: 50.67 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.9133, allocations: 28.84 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.9136, allocations: 260.1 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.9137, allocations: 24.36 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.9138, allocations: 28.38 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.9141, allocations: 157.9 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.9141, allocations: 7.938 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.9141, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.9141, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.9143, allocations: 83.94 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.9152, allocations: 0.7032 MB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.9155, allocations: 171.6 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.9156, allocations: 40.84 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.9156, allocations: 3.938 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.916, allocations: 159.4 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.916, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.000456/0.9164, allocations: 243.6 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.9165, allocations: 63.39 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.9167, allocations: 178.3 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.9167, allocations: 41.7 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9169, allocations: 120.6 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.9169, allocations: 47.67 kB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.9171, allocations: 113.6 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9172, allocations: 330.8 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.9176, allocations: 151.9 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.9179, allocations: 251 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.9184, allocations: 405.5 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.9184, allocations: 12 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000963/0.9194, allocations: 0.6148 MB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/0.9195, allocations: 164.4 kB / 1.175 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.9195, allocations: 0 / 1.175 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.9195, allocations: 7.984 kB / 1.176 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.769e-05/0.9196, allocations: 12 kB / 1.176 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9196, allocations: 7.938 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.9204, allocations: 140 kB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.9205, allocations: 31.97 kB / 1.176 GB, free: 9.598 MB / 0.9044 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.0001901/0.9206, allocations: 159.1 kB / 1.176 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.9207, allocations: 23.8 kB / 1.176 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.9207, allocations: 17.86 kB / 1.176 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.9208, allocations: 4 kB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9208, allocations: 0 / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.9208, allocations: 0 / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.9214, allocations: 0.5061 MB / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9214, allocations: 0 / 1.176 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.9214, allocations: 11.98 kB / 1.176 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.9214, allocations: 0 / 1.176 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.9214, allocations: 11.94 kB / 1.176 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9214, allocations: 0 / 1.176 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9214, allocations: 0 / 1.176 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.9218, allocations: 289.3 kB / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.9218, allocations: 100.9 kB / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.9218, allocations: 0 / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.9219, allocations: 11.98 kB / 1.177 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.922, allocations: 15.98 kB / 1.177 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.922, allocations: 11.98 kB / 1.177 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.59e-05/0.9221, allocations: 124.2 kB / 1.177 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9221, allocations: 0 / 1.177 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003774/0.9225, allocations: 79.95 kB / 1.177 GB, free: 8.145 MB / 0.9044 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.000627/0.9231, allocations: 0.8403 MB / 1.178 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.9239, allocations: 0.6217 MB / 1.178 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.924, allocations: 0 / 1.178 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.9241, allocations: 75.91 kB / 1.179 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.9245, allocations: 52.58 kB / 1.179 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.9284, allocations: 2.992 MB / 1.181 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.9287, allocations: 0.7281 MB / 1.182 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.617e-05/0.9288, allocations: 25.53 kB / 1.182 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.9289, allocations: 55.42 kB / 1.182 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.9289, allocations: 0 / 1.182 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.9528, allocations: 6.37 MB / 1.188 GB, free: 12.26 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.855, allocations: 17.91 kB / 1.189 GB, free: 12.24 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches