Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005827/0.005827, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 193.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 67.89 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2777, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001561/0.2793, allocations: 0.6557 MB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2806, allocations: 1.188 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.2807, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.2807, allocations: 3.938 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.2808, allocations: 19.84 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.2813, allocations: 215.1 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.2815, allocations: 187.7 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.2816, allocations: 12 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.2817, allocations: 71.81 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2818, allocations: 67.83 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.2819, allocations: 16 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.282, allocations: 27.98 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.282, allocations: 8 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.2821, allocations: 55.83 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2823, allocations: 151.5 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2823, allocations: 3.984 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2823, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2823, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 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.0004677/0.2828, allocations: 438.7 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.2828, allocations: 8.031 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.2828, allocations: 46.73 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.2829, allocations: 8.891 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.283, allocations: 172.3 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.283, allocations: 4.375 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.2831, allocations: 12.38 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.2832, allocations: 50.23 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2832, allocations: 3.938 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.2832, allocations: 0 / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2832, allocations: 4 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.2832, allocations: 19.98 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.2837, allocations: 356.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.2838, allocations: 38.52 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.2838, allocations: 16.94 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2838, allocations: 4 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.2839, allocations: 79.38 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.284, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002155/0.2842, allocations: 105.6 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.2842, allocations: 59.33 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.2843, allocations: 113.8 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.2844, allocations: 33.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.2844, allocations: 100.1 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.2845, allocations: 11.89 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.2845, allocations: 53.69 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2847, allocations: 318.8 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2848, allocations: 63.95 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.285, allocations: 96.14 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.2852, allocations: 163.6 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2852, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003935/0.2856, allocations: 256.9 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.2856, allocations: 67.39 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2856, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2856, allocations: 4.125 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.535e-05/0.2857, allocations: 4.469 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2857, allocations: 4 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.286, allocations: 59.83 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.286, allocations: 11.98 kB / 1.225 GB, free: 8.629 MB / 0.9825 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 9.725e-05/0.2861, allocations: 125.7 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.2862, allocations: 15.89 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.2862, allocations: 8.375 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2862, allocations: 0 / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2862, allocations: 4 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2862, allocations: 3.984 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.2864, allocations: 177.6 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2864, allocations: 4.062 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-06/0.2864, allocations: 0 / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2864, allocations: 0 / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2864, allocations: 3.984 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2864, allocations: 8 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2864, allocations: 0 / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2866, allocations: 120.9 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.2866, allocations: 77.11 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2866, allocations: 0 / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.2866, allocations: 4 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.2867, allocations: 11.98 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2867, allocations: 3.984 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.2868, allocations: 95.27 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2868, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002116/0.287, allocations: 28 kB / 1.226 GB, free: 7.852 MB / 0.9825 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.0004669/0.2875, allocations: 0.6561 MB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.2878, allocations: 262.7 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2878, allocations: 0 / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.2879, allocations: 23.98 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2881, allocations: 21.92 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.2899, allocations: 1.724 MB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2902, allocations: 0.6846 MB / 1.229 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.2902, allocations: 4 kB / 1.229 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.2902, allocations: 23.42 kB / 1.229 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2903, allocations: 4 kB / 1.229 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.701/2.992, allocations: 2.897 MB / 1.232 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/16.41, allocations: 12.62 kB / 1.232 GB, free: 1.461 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches