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.001317/0.001317, 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.001813/0.001813, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.42 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.226, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001686/0.2277, allocations: 0.8828 MB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2292, allocations: 1.498 MB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.2293, allocations: 4 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.381e-05/0.2294, allocations: 7.875 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.2295, allocations: 27.78 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2305, allocations: 496.6 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.231, allocations: 0.4915 MB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2311, allocations: 41.48 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.2313, allocations: 187.6 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2315, allocations: 147.6 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.2315, allocations: 40 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2316, allocations: 51.98 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.2317, allocations: 39.91 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2319, allocations: 163.5 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.2322, allocations: 415.2 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2322, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2323, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.2323, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 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.0006731/0.2329, allocations: 0.6437 MB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.233, allocations: 12.62 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.233, allocations: 42.73 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.2331, allocations: 28.75 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.2334, allocations: 256.6 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2334, allocations: 20.36 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.2335, allocations: 36.38 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.2337, allocations: 147.8 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2337, allocations: 3.938 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2337, allocations: 8 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.2337, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2339, allocations: 87.88 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.2346, allocations: 0.707 MB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.2348, allocations: 179.6 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.2349, allocations: 44.84 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-06/0.2349, allocations: 0 / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.2351, allocations: 156.9 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.2351, allocations: 0 / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0003911/0.2355, allocations: 242.9 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2355, allocations: 59.41 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2357, allocations: 178.3 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.2357, allocations: 41.7 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.2358, allocations: 128.4 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2359, allocations: 43.53 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.2361, allocations: 117.6 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.2361, allocations: 322.8 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.2364, allocations: 155.9 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.2367, allocations: 251.6 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.2371, allocations: 412.8 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2371, allocations: 7.938 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008415/0.238, allocations: 0.6121 MB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/0.2381, allocations: 172.4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2381, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2381, allocations: 4.344 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.2382, allocations: 15.98 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2382, allocations: 7.938 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/0.2389, allocations: 139.7 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.239, allocations: 31.97 kB / 1.062 GB, free: 14.46 MB / 0.8262 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.0001394/0.2391, allocations: 159 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.2391, allocations: 23.84 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.2392, allocations: 21.8 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2392, allocations: 4 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2392, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2392, allocations: 4 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.2396, allocations: 0.5042 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2396, allocations: 0 / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.2397, allocations: 11.92 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.2397, allocations: 64 / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2397, allocations: 8 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2397, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2397, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.2399, allocations: 287.2 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.24, allocations: 96.86 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.24, allocations: 7.938 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.2401, allocations: 3.984 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.2401, allocations: 19.98 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2402, allocations: 11.98 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.345e-05/0.2402, allocations: 120.2 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2402, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003208/0.2406, allocations: 76 kB / 1.063 GB, free: 13.02 MB / 0.8262 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.0004789/0.241, allocations: 0.8349 MB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006342/0.2417, allocations: 0.6262 MB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2417, allocations: 3.938 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.2418, allocations: 77.28 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.2422, allocations: 59.33 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.2452, allocations: 3.022 MB / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2454, allocations: 0.7242 MB / 1.068 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.297e-05/0.2455, allocations: 25.55 kB / 1.068 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.2456, allocations: 59.41 kB / 1.069 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2456, allocations: 0 / 1.069 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.02/4.265, allocations: 6.211 MB / 1.075 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/4.265, allocations: 215.6 kB / 1.075 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/7.129, allocations: 2.5 kB / 1.075 GB, free: 1.012 MB / 0.8262 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