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.001852/0.001852, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001887/0.001887, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.133/3.133, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",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.00287/0.00287, allocations: 62.44 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.35, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002133/0.3521, allocations: 0.6582 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.354, allocations: 1.199 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.3541, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.3541, allocations: 11.92 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.3542, allocations: 15.92 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007751/0.355, allocations: 214.4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.3553, allocations: 171.7 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3554, allocations: 15.98 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.3556, allocations: 67.89 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3557, allocations: 71.77 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.3558, allocations: 20 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.3559, allocations: 20 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.3559, allocations: 11.98 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.356, allocations: 55.89 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.3563, allocations: 151.4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3563, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3563, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.3563, allocations: 7.922 kB / 1.329 GB, free: 14.87 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.0006305/0.3569, allocations: 361.5 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.357, allocations: 12.03 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.309e-05/0.357, allocations: 4.188 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.357, allocations: 34.73 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.3571, allocations: 12.88 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3572, allocations: 114.5 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3572, allocations: 8.375 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.3572, allocations: 8.375 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.3574, allocations: 57.98 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3574, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3574, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3574, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.3574, allocations: 19.98 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.358, allocations: 299.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.3581, allocations: 34.58 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.3581, allocations: 16.94 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.3581, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.3583, allocations: 87.27 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3583, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002724/0.3586, allocations: 113.5 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3586, allocations: 55.39 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3588, allocations: 117.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3588, allocations: 37.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.3589, allocations: 88.14 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.3589, allocations: 11.89 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.359, allocations: 49.69 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3592, allocations: 322.8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.3594, allocations: 123.7 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.3596, allocations: 155.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.3598, allocations: 159.6 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3598, allocations: 8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005337/0.3603, allocations: 320.2 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.3604, allocations: 71.39 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3604, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3604, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.94e-05/0.3605, allocations: 12.05 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3605, allocations: 3.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.3608, allocations: 60.02 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.3609, allocations: 15.98 kB / 1.332 GB, free: 11.82 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.0001295/0.361, allocations: 126.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.361, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.361, allocations: 12.38 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.361, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.361, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.361, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3612, allocations: 152.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3612, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.3612, allocations: 4 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3612, allocations: 3.984 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3612, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3612, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3612, allocations: 7.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3614, allocations: 113 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.3614, allocations: 11.88 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3614, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.3614, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.3615, allocations: 15.98 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.3615, allocations: 7.938 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.3615, allocations: 91.27 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3615, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002334/0.3618, allocations: 27.94 kB / 1.332 GB, free: 11.17 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.0005589/0.3623, allocations: 0.6514 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.3628, allocations: 282.1 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3628, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.3628, allocations: 28.23 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.363, allocations: 15.98 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.3655, allocations: 1.965 MB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.3655, allocations: 71.86 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.3656, allocations: 11.98 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.3656, allocations: 19.44 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/0.3656, allocations: 0 / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3919, allocations: 3.26 MB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.17, allocations: 12.67 kB / 1.339 GB, free: 4.797 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] [Calling os._exit(0), Time elapsed: 18.79862029105425] Failed to read output from testmodel.py, exit status != 0: 12.33175739296712 12.362012504 12.000101226 Calling exit ...