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.0008051/0.0008051, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008624/0.0008624, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9024/0.9024, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.744/1.744, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.456e-05, allocations: 2.281 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001377/0.001401, allocations: 0.6439 MB / 0.9816 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.00259, allocations: 1.217 MB / 0.9828 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.002635, allocations: 4 kB / 0.9828 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.002663, allocations: 3.938 kB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.002729, allocations: 11.86 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.003275, allocations: 217.1 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.003462, allocations: 175.7 kB / 0.9832 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003564, allocations: 15.97 kB / 0.9832 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.003755, allocations: 91.88 kB / 0.9833 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.00386, allocations: 47.91 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.003888, allocations: 19.94 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.003952, allocations: 31.98 kB / 0.9834 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.003973, allocations: 3.984 kB / 0.9834 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.004032, allocations: 51.95 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.00424, allocations: 187.5 kB / 0.9836 GB, free: 15.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004243, allocations: 4 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.004244, allocations: 0 / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004249, allocations: 0 / 0.9836 GB, free: 15.89 MB / 0.948 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.0004348/0.004684, allocations: 361.5 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.004723, allocations: 8.031 kB / 0.984 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.004752, allocations: 42.73 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.004792, allocations: 8.891 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.672e-05/0.004869, allocations: 109.7 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004881, allocations: 8.375 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.004902, allocations: 12.38 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.339e-05/0.004995, allocations: 50.23 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005004, allocations: 4.188 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.005012, allocations: 8.25 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005018, allocations: 8.125 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.611e-05/0.005054, allocations: 19.97 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.00542, allocations: 291.9 kB / 0.9845 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.005501, allocations: 42.5 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.005523, allocations: 12.86 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.005535, allocations: 3.938 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.005681, allocations: 83.45 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.005682, allocations: 0 / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002098/0.005892, allocations: 113.5 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.005926, allocations: 51.41 kB / 0.9848 GB, free: 14.51 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.005995, allocations: 117.8 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.006016, allocations: 33.7 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.006067, allocations: 96.08 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.00608, allocations: 11.91 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.00614, allocations: 45.69 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.00622, allocations: 318.8 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.006337, allocations: 123.4 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.006465, allocations: 159.6 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.006599, allocations: 163.6 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.006603, allocations: 4.406 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003018/0.006904, allocations: 328.2 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.006945, allocations: 71.39 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00695, allocations: 0 / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.006962, allocations: 0 / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.865e-05/0.006981, allocations: 8.125 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006987, allocations: 320 / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.007184, allocations: 55.89 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.007207, allocations: 15.98 kB / 0.9863 GB, free: 12.85 MB / 0.948 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 8.1e-05/0.007288, allocations: 129.7 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.007297, allocations: 7.953 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.007321, allocations: 12.44 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.007324, allocations: 0 / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.007328, allocations: 3.938 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.007338, allocations: 3.984 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.007571, allocations: 140.7 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007573, allocations: 0 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.007578, allocations: 4 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00758, allocations: 64 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.007591, allocations: 11.98 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007593, allocations: 0 / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.007595, allocations: 7.984 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.007704, allocations: 117 kB / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.007711, allocations: 4 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.007723, allocations: 4 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.007738, allocations: 0 / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.007775, allocations: 11.97 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.007783, allocations: 8 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.007815, allocations: 91.27 kB / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007815, allocations: 0 / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001723/0.007987, allocations: 24 kB / 0.9868 GB, free: 12.21 MB / 0.948 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.0003409/0.008328, allocations: 0.6592 MB / 0.9875 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.008596, allocations: 278.1 kB / 0.9877 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.008599, allocations: 4.281 kB / 0.9877 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.008633, allocations: 19.98 kB / 0.9878 GB, free: 11.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.008815, allocations: 19.92 kB / 0.9878 GB, free: 11.17 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.01025, allocations: 1.975 MB / 0.9897 GB, free: 9.023 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.762e-05/0.0103, allocations: 75.33 kB / 0.9898 GB, free: 8.93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.01032, allocations: 4 kB / 0.9898 GB, free: 8.926 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.01036, allocations: 20.48 kB / 0.9898 GB, free: 8.906 MB / 0.948 GB Notification: Performance of SimCode: time 7.02e-07/0.01036, allocations: 0 / 0.9898 GB, free: 8.906 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.0291, allocations: 3.781 MB / 0.9935 GB, free: 5.316 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.763, allocations: 3.938 kB / 0.9935 GB, free: 5.312 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.80884448532015]