Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.001342/0.001342, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008897/0.008897, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 14.94 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3033, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.000889/0.3042, allocations: 389.7 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3058, allocations: 1.213 MB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.3059, allocations: 0 / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.3059, allocations: 0 / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.306, allocations: 11.91 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.3066, allocations: 201.9 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3068, allocations: 151.7 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.3069, allocations: 8 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.307, allocations: 63.81 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3072, allocations: 47.88 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.3072, allocations: 12 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.3073, allocations: 15.98 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.3073, allocations: 11.94 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.3074, allocations: 77.58 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.3076, allocations: 143.9 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3076, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3076, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3077, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 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.0004326/0.3081, allocations: 406.8 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3081, allocations: 15.97 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.3082, allocations: 38.73 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.3082, allocations: 8.938 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3084, allocations: 168.3 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3084, allocations: 8.375 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.3084, allocations: 12.31 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3086, allocations: 50.23 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.3086, allocations: 3.938 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3086, allocations: 7.938 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3086, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.3086, allocations: 19.98 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3091, allocations: 348.7 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.3092, allocations: 42.5 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.3093, allocations: 8.859 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3093, allocations: 4.078 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.3095, allocations: 91.28 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3095, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002409/0.3097, allocations: 105.6 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3098, allocations: 55.41 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.3099, allocations: 117.8 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.3099, allocations: 33.69 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.31, allocations: 88.14 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.31, allocations: 15.81 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.31, allocations: 29.7 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.3101, allocations: 314.8 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3103, allocations: 63.95 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3104, allocations: 88.27 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3106, allocations: 163.5 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3106, allocations: 8.406 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004306/0.311, allocations: 264.7 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.3111, allocations: 67.39 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3111, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3111, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.3112, allocations: 12.12 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3112, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.3116, allocations: 71.94 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3116, allocations: 11.98 kB / 1.064 GB, free: 15.55 MB / 0.8262 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,or1.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.433e-05/0.3117, allocations: 129.7 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.3118, allocations: 11.91 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.3118, allocations: 8.359 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3118, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3118, allocations: 4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3118, allocations: 3.984 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3119, allocations: 177.6 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3119, allocations: 4 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.312, allocations: 3.984 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.312, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.312, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.312, allocations: 4 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.312, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3121, allocations: 113.2 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.3122, allocations: 85.11 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3122, allocations: 0 / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.3122, allocations: 4 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.3123, allocations: 11.98 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3123, allocations: 4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.3123, allocations: 91.27 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3123, allocations: 0 / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000234/0.3126, allocations: 32 kB / 1.064 GB, free: 14.78 MB / 0.8262 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,or1.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.000425/0.313, allocations: 0.6516 MB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.3134, allocations: 242.7 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3134, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.167e-05/0.3134, allocations: 35.86 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.3137, allocations: 20.17 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.3154, allocations: 1.721 MB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3156, allocations: 0.6887 MB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.3156, allocations: 4 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.3157, allocations: 19.42 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3157, allocations: 4 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3369, allocations: 2.596 MB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.3372, allocations: 204.6 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.168, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches