Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Xor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_10_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.005049/0.005049, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.001304/0.001304, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 67.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2505, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001568/0.2521, allocations: 0.6681 MB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2534, allocations: 1.195 MB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.2535, allocations: 0 / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.2535, allocations: 3.938 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.2536, allocations: 3.938 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.2542, allocations: 226.8 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.2544, allocations: 187.7 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.2545, allocations: 15.98 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.2546, allocations: 63.89 kB / 1.169 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2547, allocations: 67.78 kB / 1.169 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.2547, allocations: 16 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.2548, allocations: 23.98 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.2548, allocations: 19.97 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.2549, allocations: 51.84 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.2551, allocations: 151.9 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2551, allocations: 0 / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2551, allocations: 0 / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2551, allocations: 7.938 kB / 1.169 GB, free: 4.66 MB / 0.92 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.0004843/0.2556, allocations: 438.7 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2557, allocations: 8.031 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.2557, allocations: 34.75 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.2558, allocations: 8.891 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2559, allocations: 176.3 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2559, allocations: 4.375 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.2559, allocations: 16.38 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/0.256, allocations: 46.19 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.256, allocations: 7.875 kB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2561, allocations: 3.984 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2561, allocations: 3.984 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.2561, allocations: 19.94 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.2565, allocations: 356.7 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.2566, allocations: 38.56 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.2567, allocations: 12.86 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2567, allocations: 4 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.2568, allocations: 87.38 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2568, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002133/0.257, allocations: 105.6 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.2571, allocations: 51.41 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.2572, allocations: 113.8 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.2572, allocations: 41.62 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.2573, allocations: 96.09 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.2573, allocations: 15.83 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.2574, allocations: 53.69 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2575, allocations: 322.8 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2577, allocations: 63.97 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2578, allocations: 96.25 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.258, allocations: 156.1 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.258, allocations: 0 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003981/0.2584, allocations: 264.8 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.2585, allocations: 67.39 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2585, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2585, allocations: 4 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.568e-05/0.2585, allocations: 3.938 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2585, allocations: 7.984 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.2589, allocations: 56.02 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.2589, allocations: 8 kB / 1.171 GB, free: 1.609 MB / 0.92 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.808e-05/0.259, allocations: 129.8 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.259, allocations: 7.953 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.259, allocations: 8.375 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.259, allocations: 4 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2591, allocations: 8 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2591, allocations: 0 / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.2592, allocations: 181.6 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2592, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-06/0.2592, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2592, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2592, allocations: 3.938 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2592, allocations: 4 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2593, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.2594, allocations: 121.3 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.2595, allocations: 81.05 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2595, allocations: 3.984 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.2595, allocations: 4 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.2595, allocations: 8 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.2596, allocations: 3.984 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.2596, allocations: 87.28 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2596, allocations: 0 / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002158/0.2598, allocations: 32 kB / 1.172 GB, free: 0.8359 MB / 0.92 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.0004427/0.2603, allocations: 0.6595 MB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.2606, allocations: 246.7 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2606, allocations: 3.938 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.2607, allocations: 28.23 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.2609, allocations: 21.95 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.2627, allocations: 1.717 MB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.263, allocations: 0.6885 MB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.263, allocations: 4 kB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.263, allocations: 15.44 kB / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.263, allocations: 0 / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/1.351, allocations: 2.899 MB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/12.07, allocations: 18.02 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches