Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001199/0.001199, allocations: 190.8 kB / 16.14 MB, free: 6.711 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.95 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2785, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002027/0.2806, allocations: 0.7117 MB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2821, allocations: 1.217 MB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.2822, allocations: 4 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.2823, allocations: 3.938 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.2824, allocations: 7.922 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.283, allocations: 206 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.2831, allocations: 143.8 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.2832, allocations: 12 kB / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2834, allocations: 63.88 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.433e-05/0.2835, allocations: 39.88 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.2835, allocations: 11.94 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.2836, allocations: 35.91 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.2836, allocations: 11.94 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.2837, allocations: 47.83 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2839, allocations: 143.9 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2839, allocations: 0 / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.284, allocations: 0 / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.284, allocations: 0 / 1.055 GB, free: 5.613 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.0005438/0.2845, allocations: 438.8 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2846, allocations: 11.97 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.2846, allocations: 30.75 kB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.2847, allocations: 20.83 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2848, allocations: 164.4 kB / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2848, allocations: 8.375 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.2848, allocations: 8.375 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.285, allocations: 54.17 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.285, allocations: 3.938 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.285, allocations: 4 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.285, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.285, allocations: 12 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.2855, allocations: 356.6 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.2856, allocations: 46.48 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.2856, allocations: 12.86 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2857, allocations: 8 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.2858, allocations: 83.44 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.2859, allocations: 0 / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002463/0.2861, allocations: 105.5 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2861, allocations: 59.34 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.2862, allocations: 114.1 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2863, allocations: 29.7 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.2863, allocations: 92.12 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2864, allocations: 19.89 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.2865, allocations: 49.62 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.2866, allocations: 326.8 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2867, allocations: 59.97 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2868, allocations: 88.27 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.287, allocations: 159.6 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.287, allocations: 3.938 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004068/0.2875, allocations: 260.8 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/0.2875, allocations: 67.39 kB / 1.057 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2875, allocations: 4 kB / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2876, allocations: 0 / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.132e-05/0.2876, allocations: 8.125 kB / 1.057 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2876, allocations: 4 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.2879, allocations: 51.92 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.288, allocations: 8 kB / 1.057 GB, free: 2.578 MB / 0.8106 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,and1.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.0001038/0.2881, allocations: 133.7 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2881, allocations: 7.906 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.2881, allocations: 8.375 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2881, allocations: 7.938 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2882, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2882, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.2883, allocations: 181.6 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2883, allocations: 96 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.2883, allocations: 3.938 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2883, allocations: 0 / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.2883, allocations: 4 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2883, allocations: 0 / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2883, allocations: 0 / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.2885, allocations: 120.9 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.2885, allocations: 81.08 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2886, allocations: 4 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.2886, allocations: 11.92 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.2886, allocations: 0 / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2886, allocations: 11.94 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.2887, allocations: 91.27 kB / 1.058 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2887, allocations: 4 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002292/0.2889, allocations: 28 kB / 1.058 GB, free: 1.797 MB / 0.8106 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,and1.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.0004153/0.2894, allocations: 0.644 MB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.2897, allocations: 242.8 kB / 1.059 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2897, allocations: 4.25 kB / 1.059 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.2897, allocations: 35.91 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.29, allocations: 13.36 kB / 1.059 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2917, allocations: 1.708 MB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.292, allocations: 0.6887 MB / 1.061 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.292, allocations: 8 kB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.2921, allocations: 23.42 kB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2921, allocations: 3.938 kB / 1.061 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4475/0.7396, allocations: 2.659 MB / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.7398, allocations: 211.9 kB / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.535, allocations: 0 / 1.064 GB, free: 11.43 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches