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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.199/3.199, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 72.69 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002268/0.3786, allocations: 0.6585 MB / 1.305 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3806, allocations: 1.198 MB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.3807, allocations: 4 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.3807, allocations: 3.938 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3808, allocations: 11.92 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008203/0.3817, allocations: 211.3 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.382, allocations: 175.7 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3821, allocations: 8 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.3823, allocations: 71.88 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3824, allocations: 63.83 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.3825, allocations: 23.94 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3826, allocations: 31.98 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.3826, allocations: 4 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3828, allocations: 59.81 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.3831, allocations: 151.9 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3831, allocations: 0 / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3831, allocations: 0 / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3831, allocations: 0 / 1.307 GB, free: 14.86 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.0007066/0.3838, allocations: 434.7 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.3838, allocations: 12.86 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.3839, allocations: 38.73 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.3839, allocations: 16.83 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3841, allocations: 168.3 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3841, allocations: 8.375 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.3842, allocations: 8.375 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3843, allocations: 50.23 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3844, allocations: 3.938 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.3844, allocations: 7.938 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3844, allocations: 0 / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.3845, allocations: 19.92 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.3852, allocations: 360.7 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.3853, allocations: 26.67 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.3853, allocations: 16.84 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3853, allocations: 4 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.3855, allocations: 87.27 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3855, allocations: 0 / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002676/0.3858, allocations: 101.7 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.3858, allocations: 55.41 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3859, allocations: 121.7 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.386, allocations: 29.7 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.3861, allocations: 96.12 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3861, allocations: 15.89 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3862, allocations: 57.62 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002505/0.3865, allocations: 314.8 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3866, allocations: 63.95 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3868, allocations: 95.77 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.387, allocations: 168 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.387, allocations: 0 / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004588/0.3874, allocations: 268.8 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-05/0.3875, allocations: 71.39 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3875, allocations: 0 / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3876, allocations: 0 / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.737e-05/0.3876, allocations: 12.12 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3876, allocations: 4 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.3879, allocations: 51.94 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.388, allocations: 15.98 kB / 1.309 GB, free: 11.8 MB / 1.014 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.0001417/0.3881, allocations: 125.8 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.3881, allocations: 7.953 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.3882, allocations: 16.36 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3882, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3882, allocations: 3.938 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3882, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3884, allocations: 181.5 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3884, allocations: 0 / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.3884, allocations: 7.984 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3884, allocations: 0 / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3884, allocations: 4 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3884, allocations: 0 / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3884, allocations: 3.938 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.3886, allocations: 113 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3888, allocations: 89.06 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3888, allocations: 0 / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.3888, allocations: 0 / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3888, allocations: 7.984 kB / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3888, allocations: 8 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.3889, allocations: 95.2 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3889, allocations: 4 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002436/0.3892, allocations: 28 kB / 1.31 GB, free: 11.02 MB / 1.014 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.0006069/0.3898, allocations: 0.663 MB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.3901, allocations: 214.7 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3901, allocations: 4.25 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.3902, allocations: 20 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3905, allocations: 18.48 kB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.3928, allocations: 1.72 MB / 1.312 GB, free: 8.211 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.3933, allocations: 0.6846 MB / 1.313 GB, free: 7.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.3933, allocations: 7.984 kB / 1.313 GB, free: 7.492 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.3933, allocations: 15.44 kB / 1.313 GB, free: 7.477 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/0.3933, allocations: 0 / 1.313 GB, free: 7.477 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.4214, allocations: 2.925 MB / 1.316 GB, free: 4.668 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.621, allocations: 15.8 kB / 1.316 GB, free: 4.652 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.002 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.231059996876866]