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.001916/0.001916, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002399/0.002399, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.816 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.209/3.209, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.002054/0.002054, allocations: 67.97 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001959/0.349, allocations: 0.6443 MB / 1.326 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3506, allocations: 1.206 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.3507, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.3507, allocations: 3.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.3508, allocations: 11.92 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.3514, allocations: 213.8 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3517, allocations: 175.7 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.3518, allocations: 19.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3519, allocations: 71.89 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.352, allocations: 67.83 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.352, allocations: 16 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.3521, allocations: 24 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3521, allocations: 11.98 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.3522, allocations: 59.83 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.3525, allocations: 151.9 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3525, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3525, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3525, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 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.0005329/0.353, allocations: 357.5 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.353, allocations: 16.03 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.3531, allocations: 34.73 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.3531, allocations: 8.938 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3532, allocations: 118.4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3533, allocations: 4.375 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.3533, allocations: 12.38 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3534, allocations: 54.23 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3534, allocations: 3.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3534, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3534, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.3535, allocations: 23.98 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.354, allocations: 307.7 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.3541, allocations: 34.56 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.3541, allocations: 12.86 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.3541, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3543, allocations: 91.34 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3543, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002749/0.3546, allocations: 105.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3546, allocations: 51.41 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.3547, allocations: 113.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.3547, allocations: 33.7 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.3548, allocations: 100.1 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3548, allocations: 11.91 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3549, allocations: 49.69 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3551, allocations: 318.8 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.3553, allocations: 123.4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.3555, allocations: 155.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.3557, allocations: 168 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3557, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004893/0.3562, allocations: 328.2 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.3563, allocations: 67.39 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3563, allocations: 4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3563, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.08e-05/0.3563, allocations: 4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3563, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.3566, allocations: 60.02 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.3567, allocations: 11.98 kB / 1.331 GB, free: 11.8 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.0001175/0.3568, allocations: 136.1 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.3568, allocations: 4 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.3568, allocations: 12.36 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3568, allocations: 4 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3569, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3569, allocations: 7.984 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.357, allocations: 148.6 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.357, allocations: 0 / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.357, allocations: 0 / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.357, allocations: 4 kB / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.357, allocations: 3.984 kB / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.357, allocations: 0 / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.357, allocations: 4.062 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.3572, allocations: 116.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.3572, allocations: 7.953 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3572, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.3572, allocations: 8 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.3573, allocations: 7.984 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3573, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.3574, allocations: 95.2 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3574, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002344/0.3576, allocations: 28 kB / 1.332 GB, free: 11.15 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.0005343/0.3581, allocations: 0.6592 MB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.3585, allocations: 274.1 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3585, allocations: 4.25 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.3586, allocations: 28.45 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3588, allocations: 17.8 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3611, allocations: 1.969 MB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.3612, allocations: 71.25 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.3612, allocations: 11.98 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.3612, allocations: 19.44 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3612, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.3918, allocations: 3.665 MB / 1.338 GB, free: 4.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 4.75 kB / 1.338 GB, free: 4.344 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.30767034800374]