Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_11_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.006349/0.006349, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001701/0.001701, allocations: 194.8 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.292/1.292, 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.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2712, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001745/0.273, allocations: 0.8362 MB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2747, allocations: 1.486 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.2747, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.2749, allocations: 15.8 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.2749, allocations: 35.7 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2761, allocations: 0.5204 MB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.2766, allocations: 0.4915 MB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2768, allocations: 49.38 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2769, allocations: 187.7 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2772, allocations: 167.6 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.2773, allocations: 43.94 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.2774, allocations: 59.97 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.2775, allocations: 35.91 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.2776, allocations: 163.5 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.2781, allocations: 414.7 kB / 1.225 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2781, allocations: 0 / 1.225 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2781, allocations: 0 / 1.225 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2781, allocations: 0 / 1.225 GB, free: 9.805 MB / 0.9825 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.0008102/0.2789, allocations: 0.6513 MB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.279, allocations: 12.03 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.279, allocations: 42.73 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.2791, allocations: 32.78 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.2794, allocations: 265 kB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2795, allocations: 24.36 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.2795, allocations: 28.38 kB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.2798, allocations: 147.9 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2798, allocations: 3.938 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.2798, allocations: 8 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2798, allocations: 0 / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.28, allocations: 87.88 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.2808, allocations: 0.7109 MB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.281, allocations: 167.6 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.281, allocations: 52.83 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.2811, allocations: 0 / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.2813, allocations: 161.2 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.2813, allocations: 0 / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004529/0.2818, allocations: 243.3 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.2819, allocations: 63.28 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.282, allocations: 182.3 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.2821, allocations: 37.7 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2822, allocations: 132.6 kB / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.2823, allocations: 51.62 kB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.2825, allocations: 113.6 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2826, allocations: 326.8 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.2829, allocations: 155.9 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.2833, allocations: 243.6 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.2838, allocations: 404.3 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2838, allocations: 0 / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009232/0.2847, allocations: 0.6185 MB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.2848, allocations: 172.4 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2848, allocations: 4 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2848, allocations: 4 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.2849, allocations: 7.938 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2849, allocations: 8 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.2856, allocations: 136.1 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.2857, allocations: 39.97 kB / 1.23 GB, free: 4.086 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.000169/0.2858, allocations: 163 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2859, allocations: 15.84 kB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.2859, allocations: 21.86 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2859, allocations: 4.094 kB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2859, allocations: 3.938 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.286, allocations: 0 / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.2865, allocations: 0.5022 MB / 1.23 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2865, allocations: 0 / 1.23 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.2865, allocations: 11.98 kB / 1.23 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2865, allocations: 0 / 1.23 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2865, allocations: 8 kB / 1.23 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2865, allocations: 0 / 1.23 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2866, allocations: 0 / 1.23 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.2868, allocations: 288.9 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.2869, allocations: 96.89 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.2869, allocations: 7.984 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.974e-05/0.287, allocations: 8 kB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.2871, allocations: 19.94 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.2871, allocations: 15.98 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.284e-05/0.2872, allocations: 116.2 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2872, allocations: 0 / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003177/0.2875, allocations: 76 kB / 1.231 GB, free: 2.641 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.0006425/0.2881, allocations: 0.8372 MB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007331/0.2889, allocations: 0.6101 MB / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2889, allocations: 4 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.289, allocations: 75.91 kB / 1.232 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2894, allocations: 50.61 kB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.293, allocations: 3.009 MB / 1.235 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.2933, allocations: 0.7281 MB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.522e-05/0.2934, allocations: 21.55 kB / 1.236 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.2935, allocations: 51.42 kB / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2935, allocations: 0 / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.035/2.328, allocations: 6.367 MB / 1.242 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.158/11.49, allocations: 8.047 kB / 1.242 GB, free: 6.738 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches