Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_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.007587/0.007587, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001343/0.001343, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.89 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3238, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001839/0.3257, allocations: 0.8297 MB / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3274, allocations: 1.482 MB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.3275, allocations: 0 / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.3277, allocations: 19.8 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.3278, allocations: 31.72 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.329, allocations: 0.5219 MB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.3296, allocations: 0.4953 MB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3297, allocations: 45.44 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3299, allocations: 183.7 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.3302, allocations: 175.5 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.3303, allocations: 40 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3304, allocations: 63.92 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.3305, allocations: 43.89 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.3306, allocations: 155.5 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.3311, allocations: 411.2 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3311, allocations: 0 / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3311, allocations: 0 / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3311, allocations: 0 / 1.212 GB, free: 5.664 MB / 0.9669 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.0007742/0.3319, allocations: 0.6437 MB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3319, allocations: 8.625 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.332, allocations: 46.73 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.359e-05/0.3321, allocations: 36.73 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3324, allocations: 261.2 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3324, allocations: 16.38 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.3325, allocations: 28.38 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3327, allocations: 152.3 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3327, allocations: 7.875 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3327, allocations: 11.98 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3328, allocations: 3.984 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3329, allocations: 79.95 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.3337, allocations: 0.7109 MB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3339, allocations: 167.6 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.334, allocations: 44.84 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.334, allocations: 4.094 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.3343, allocations: 160.7 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.3343, allocations: 4.125 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0004407/0.3347, allocations: 247.7 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3348, allocations: 59.41 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3349, allocations: 182.7 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.335, allocations: 45.69 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3351, allocations: 124.5 kB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3352, allocations: 39.47 kB / 1.215 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.3354, allocations: 117.6 kB / 1.215 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3355, allocations: 326.8 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.3358, allocations: 151.9 kB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.3361, allocations: 254.5 kB / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.3366, allocations: 403.9 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3366, allocations: 0 / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009331/0.3375, allocations: 0.6227 MB / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/0.3376, allocations: 164.4 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3377, allocations: 4 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3377, allocations: 4 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.3377, allocations: 15.94 kB / 1.217 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3377, allocations: 12.27 kB / 1.217 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.3385, allocations: 135.6 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.3386, allocations: 32.05 kB / 1.217 GB, free: 15.95 MB / 0.9825 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.0001587/0.3387, allocations: 167 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3388, allocations: 19.75 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.3388, allocations: 17.88 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3388, allocations: 4 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3388, allocations: 0 / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3388, allocations: 0 / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.3394, allocations: 0.5062 MB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3394, allocations: 0 / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.3394, allocations: 7.938 kB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3394, allocations: 0 / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3394, allocations: 11.98 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3395, allocations: 0 / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3395, allocations: 3.938 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3397, allocations: 281.4 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.3398, allocations: 96.86 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3398, allocations: 7.984 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.3399, allocations: 4 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.3399, allocations: 19.97 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.34, allocations: 8 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.395e-05/0.34, allocations: 123.2 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.34, allocations: 3.938 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003589/0.3404, allocations: 87.89 kB / 1.218 GB, free: 14.5 MB / 0.9825 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.0005698/0.341, allocations: 0.8254 MB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007123/0.3417, allocations: 0.6118 MB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3417, allocations: 4.688 kB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3418, allocations: 67.92 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3422, allocations: 47.94 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.3461, allocations: 3.009 MB / 1.223 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3465, allocations: 0.7242 MB / 1.223 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.3465, allocations: 17.55 kB / 1.223 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.3466, allocations: 59.41 kB / 1.223 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of SimCode: time 7.214e-06/0.3466, allocations: 0 / 1.223 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.3715, allocations: 6.53 MB / 1.23 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.284, allocations: 10.48 kB / 1.23 GB, free: 2.457 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches