Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 110.5 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.49 GB / 0.7916 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 65.94 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.365, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002336/0.3674, allocations: 0.6587 MB / 1.321 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.3696, allocations: 1.222 MB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.3696, allocations: 0 / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3697, allocations: 3.938 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.3698, allocations: 11.88 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.3706, allocations: 223.5 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.3709, allocations: 175.7 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.371, allocations: 11.98 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.3711, allocations: 67.88 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3713, allocations: 59.86 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.3713, allocations: 16 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3715, allocations: 31.97 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.3715, allocations: 15.92 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.3716, allocations: 55.89 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3718, allocations: 151.8 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3719, allocations: 4 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3719, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3719, allocations: 3.938 kB / 1.323 GB, free: 0.6523 MB / 1.014 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.0006948/0.3726, allocations: 442.6 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3726, allocations: 15.98 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.3726, allocations: 34.69 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.3727, allocations: 8.938 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3729, allocations: 172.3 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3729, allocations: 4.375 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.373, allocations: 16.38 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3731, allocations: 42.25 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3731, allocations: 3.938 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3731, allocations: 7.984 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3731, allocations: 0 / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.3732, allocations: 15.94 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.3738, allocations: 356.7 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3739, allocations: 38.56 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.3739, allocations: 12.86 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3739, allocations: 0 / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.3741, allocations: 91.38 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 3.507e-06/0.3741, allocations: 3.984 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002975/0.3744, allocations: 101.9 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.3745, allocations: 55.34 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3746, allocations: 121.8 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.3747, allocations: 41.62 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.3747, allocations: 88.14 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.3748, allocations: 15.89 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3749, allocations: 53.69 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3751, allocations: 322.8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3752, allocations: 59.97 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3754, allocations: 96.25 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.3757, allocations: 160 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3757, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004874/0.3761, allocations: 268.8 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.162e-05/0.3762, allocations: 71.39 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3762, allocations: 80 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3762, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.488e-05/0.3763, allocations: 7.938 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3763, allocations: 7.969 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.3767, allocations: 56.02 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.3767, allocations: 16 kB / 1.326 GB, free: 13.59 MB / 1.029 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 0.0001264/0.3768, allocations: 125.8 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.3769, allocations: 0 / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.3769, allocations: 8.375 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3769, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3769, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3769, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3771, allocations: 193.5 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3771, allocations: 4 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.3771, allocations: 4 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3771, allocations: 0 / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.3771, allocations: 3.938 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3771, allocations: 0 / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3771, allocations: 0 / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3773, allocations: 113 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3774, allocations: 85.06 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3774, allocations: 7.922 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.484e-05/0.3774, allocations: 8 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.3774, allocations: 4 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.3775, allocations: 7.984 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.3775, allocations: 91.22 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000255/0.3778, allocations: 35.98 kB / 1.327 GB, free: 12.81 MB / 1.029 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.0006823/0.3785, allocations: 0.6514 MB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.3789, allocations: 222.7 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3789, allocations: 0 / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.379, allocations: 23.98 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3792, allocations: 22.83 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.3818, allocations: 1.717 MB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3823, allocations: 0.6924 MB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.3823, allocations: 4 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.3823, allocations: 19.44 kB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.3823, allocations: 0 / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.409, allocations: 2.912 MB / 1.333 GB, free: 6.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.652, allocations: 10.72 kB / 1.333 GB, free: 6.449 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.319178802892566]