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.001855/0.001855, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002435/0.002435, allocations: 218.3 kB / 22.26 MB, free: 5.082 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 8.035 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.169/3.169, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.002039/0.002039, allocations: 65.75 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001891/0.354, allocations: 0.6653 MB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3557, allocations: 1.233 MB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.3557, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.3558, allocations: 3.938 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.3558, allocations: 11.88 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.3565, allocations: 221.7 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.3568, allocations: 171.8 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.3569, allocations: 15.98 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.357, allocations: 71.88 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3571, allocations: 63.86 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.3572, allocations: 12 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.3573, allocations: 39.92 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.3573, allocations: 15.92 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.3574, allocations: 51.89 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3576, allocations: 155.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3576, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3576, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3576, allocations: 4 kB / 1.329 GB, free: 15.24 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.0005838/0.3582, allocations: 365.5 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3583, allocations: 8.031 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.3583, allocations: 34.75 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3584, allocations: 4.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3585, allocations: 110.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3585, allocations: 8.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.3585, allocations: 16.36 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3587, allocations: 54.12 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3587, allocations: 3.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3587, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3587, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.3587, allocations: 19.98 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.3593, allocations: 327.7 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.936e-05/0.3594, allocations: 42.48 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.3594, allocations: 16.86 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3594, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.3596, allocations: 83.45 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3596, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002527/0.3599, allocations: 105.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3599, allocations: 59.41 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3601, allocations: 117.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.3601, allocations: 33.7 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.3602, allocations: 88.14 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3602, allocations: 19.88 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.3603, allocations: 53.69 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3604, allocations: 314.8 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3606, allocations: 63.95 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3608, allocations: 92.27 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.361, allocations: 160.1 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.361, allocations: 3.938 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004578/0.3614, allocations: 268.9 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.3615, allocations: 71.42 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3615, allocations: 4.312 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3615, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.243e-05/0.3616, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3616, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.3619, allocations: 51.89 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.3619, allocations: 19.97 kB / 1.331 GB, free: 12.39 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.0001197/0.3621, allocations: 130.2 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.3621, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.3621, allocations: 16.42 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3621, allocations: 7.938 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3621, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3621, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3623, allocations: 148.6 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3623, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-06/0.3623, allocations: 3.984 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3623, allocations: 8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3623, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3623, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3623, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3625, allocations: 109 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.3625, allocations: 11.95 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3625, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.3625, allocations: 3.938 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.3626, allocations: 11.98 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3626, allocations: 11.94 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.045e-05/0.3627, allocations: 91.27 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3627, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002378/0.3629, allocations: 24 kB / 1.332 GB, free: 11.74 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.0005632/0.3635, allocations: 0.6556 MB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.3638, allocations: 222.6 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3638, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.3639, allocations: 23.94 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3641, allocations: 15.98 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3662, allocations: 1.728 MB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3665, allocations: 0.6846 MB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.3666, allocations: 11.98 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.3666, allocations: 15.44 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3666, allocations: 0 / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.3969, allocations: 3.046 MB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 0.6094 kB / 1.338 GB, free: 5.297 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.34802382509224]