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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006061/0.006061, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.001491/0.001491, allocations: 187.1 kB / 16.67 MB, free: 5.918 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.636/2.636, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 67.89 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2489, allocations: 162.3 MB / 1.242 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001586/0.2505, allocations: 0.828 MB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2521, allocations: 1.478 MB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.2521, allocations: 3.938 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.802e-05/0.2522, allocations: 15.8 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.195e-05/0.2523, allocations: 31.72 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.2533, allocations: 0.5179 MB / 1.245 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.2538, allocations: 0.4953 MB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2539, allocations: 49.45 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.254, allocations: 179.7 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.2543, allocations: 175.5 kB / 1.246 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.2543, allocations: 43.94 kB / 1.246 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2545, allocations: 63.92 kB / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.2545, allocations: 31.92 kB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2547, allocations: 167.5 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.2551, allocations: 406.8 kB / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2551, allocations: 0 / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2551, allocations: 0 / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.2551, allocations: 0 / 1.246 GB, free: 5.316 MB / 0.9981 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.0006604/0.2558, allocations: 0.6551 MB / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.2558, allocations: 12.03 kB / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.2558, allocations: 46.73 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.2559, allocations: 32.84 kB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.2562, allocations: 260.1 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2562, allocations: 20.36 kB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.2563, allocations: 28.38 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.2565, allocations: 152.7 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2565, allocations: 7.875 kB / 1.247 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2565, allocations: 8 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2565, allocations: 0 / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2567, allocations: 87.94 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.2574, allocations: 0.7032 MB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.2576, allocations: 175.5 kB / 1.248 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.2577, allocations: 44.84 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.2577, allocations: 4 kB / 1.248 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.2579, allocations: 155.2 kB / 1.249 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.2579, allocations: 192 / 1.249 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0003879/0.2583, allocations: 243.1 kB / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.2584, allocations: 63.34 kB / 1.249 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2585, allocations: 182.3 kB / 1.249 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.2585, allocations: 41.7 kB / 1.249 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.2587, allocations: 128.6 kB / 1.249 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2587, allocations: 43.67 kB / 1.249 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.2589, allocations: 113.6 kB / 1.249 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.259, allocations: 330.8 kB / 1.25 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.2593, allocations: 155.9 kB / 1.25 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.2596, allocations: 246.7 kB / 1.25 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.2601, allocations: 402.8 kB / 1.25 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2601, allocations: 0 / 1.25 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.4132/0.6733, allocations: 0.6205 MB / 1.251 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.6734, allocations: 166.2 kB / 1.251 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6735, allocations: 2.625 kB / 1.251 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6735, allocations: 4.406 kB / 1.251 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.6735, allocations: 10.84 kB / 1.251 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6736, allocations: 9.953 kB / 1.251 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.6743, allocations: 135.9 kB / 1.251 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.6744, allocations: 33.19 kB / 1.251 GB, free: 14.06 MB / 0.9981 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.0001536/0.6746, allocations: 162.3 kB / 1.252 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.6746, allocations: 18.61 kB / 1.252 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.6747, allocations: 19.91 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.6747, allocations: 3.625 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6747, allocations: 1.359 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6747, allocations: 1.219 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.6751, allocations: 0.5083 MB / 1.252 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6752, allocations: 1.531 kB / 1.252 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.6752, allocations: 10.16 kB / 1.252 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6752, allocations: 1.953 kB / 1.252 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6752, allocations: 4.797 kB / 1.252 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6752, allocations: 3.531 kB / 1.252 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6752, allocations: 0.5625 kB / 1.252 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.6755, allocations: 288.1 kB / 1.252 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.6755, allocations: 99.48 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.6755, allocations: 6.156 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.6756, allocations: 4.531 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.6756, allocations: 20.89 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.6757, allocations: 12.86 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.6757, allocations: 118.3 kB / 1.253 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.6757, allocations: 2.344 kB / 1.253 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003354/0.6761, allocations: 80.2 kB / 1.253 GB, free: 13.33 MB / 0.9981 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.0003998/0.6765, allocations: 0.8264 MB / 1.253 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005989/0.6771, allocations: 0.6157 MB / 1.254 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6771, allocations: 0.9062 kB / 1.254 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.6772, allocations: 77.83 kB / 1.254 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.6776, allocations: 54.53 kB / 1.254 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.6805, allocations: 3.002 MB / 1.257 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.6806, allocations: 0.7272 MB / 1.258 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.888e-05/0.6807, allocations: 21.56 kB / 1.258 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.6808, allocations: 59.78 kB / 1.258 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.6808, allocations: 0 / 1.258 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.668/6.349, allocations: 6.385 MB / 1.264 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/23.49, allocations: 9.188 kB / 1.264 GB, free: 9.348 MB / 0.9981 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=400 --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