Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.008157/0.008157, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001495/0.001495, allocations: 197.8 kB / 16.68 MB, free: 5.965 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 68.09 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.886/0.8878, allocations: 157.4 MB / 1.207 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001998/0.8898, allocations: 0.6581 MB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.8913, allocations: 1.19 MB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.8914, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.8915, allocations: 3.938 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.012e-05/0.8916, allocations: 11.91 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.8923, allocations: 221.1 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.8926, allocations: 187.6 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.8927, allocations: 11.98 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.8928, allocations: 71.94 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.893, allocations: 63.8 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.893, allocations: 19.98 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.8931, allocations: 27.98 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.8931, allocations: 7.984 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.8932, allocations: 55.83 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.8934, allocations: 153.9 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8934, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8935, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8935, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005118/0.894, allocations: 434.7 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.894, allocations: 12.03 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.8941, allocations: 38.69 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.8941, allocations: 8.844 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.8942, allocations: 180.2 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.8943, allocations: 12.31 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.8943, allocations: 8.375 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.8945, allocations: 50.23 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8945, allocations: 3.938 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.8945, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.8945, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.8946, allocations: 27.94 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.8951, allocations: 352.7 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.8952, allocations: 34.56 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.8952, allocations: 16.94 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.8952, allocations: 4 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.8954, allocations: 83.31 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.8954, allocations: 0 / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002443/0.8957, allocations: 105.6 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.8957, allocations: 51.41 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.8958, allocations: 117.8 kB / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.8958, allocations: 29.7 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.8959, allocations: 96.03 kB / 1.211 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.8959, allocations: 11.91 kB / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.896, allocations: 57.62 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8961, allocations: 318.8 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.8963, allocations: 59.97 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.8964, allocations: 96.25 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.8966, allocations: 164 kB / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8966, allocations: 0 / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003859/0.897, allocations: 260.8 kB / 1.212 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.8971, allocations: 67.39 kB / 1.212 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8971, allocations: 3.938 kB / 1.212 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.8971, allocations: 4 kB / 1.212 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.002e-05/0.8971, allocations: 8.109 kB / 1.212 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8972, allocations: 7.938 kB / 1.212 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.8975, allocations: 59.84 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.8975, allocations: 15.98 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.622e-05/0.8976, allocations: 121.8 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.8976, allocations: 8 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.8977, allocations: 8.375 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8977, allocations: 0 / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8977, allocations: 0 / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8977, allocations: 4 kB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.8978, allocations: 177.5 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8978, allocations: 4 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.8978, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8978, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8979, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8979, allocations: 4 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8979, allocations: 11.92 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.898, allocations: 109 kB / 1.213 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.8981, allocations: 85 kB / 1.213 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.8981, allocations: 0 / 1.213 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.8981, allocations: 4 kB / 1.213 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.8981, allocations: 11.98 kB / 1.213 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.8982, allocations: 0 / 1.213 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.8982, allocations: 95.27 kB / 1.213 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8982, allocations: 288 / 1.213 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002418/0.8985, allocations: 36 kB / 1.213 GB, free: 7 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004135/0.8989, allocations: 0.6552 MB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.8992, allocations: 254.9 kB / 1.214 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8992, allocations: 0 / 1.214 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.8993, allocations: 28.45 kB / 1.214 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.8995, allocations: 20.08 kB / 1.214 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.9012, allocations: 1.72 MB / 1.216 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.9015, allocations: 0.6908 MB / 1.216 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.9015, allocations: 7.984 kB / 1.216 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.9016, allocations: 23.42 kB / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9016, allocations: 0 / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.9198, allocations: 2.963 MB / 1.219 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/8.182, allocations: 2.344 kB / 1.219 GB, free: 0.5586 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches