Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.005252/0.005252, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001399/0.001399, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.472/2.472, allocations: 482.6 MB / 0.755 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 69.34 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2857, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001451/0.2872, allocations: 0.5555 MB / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.584e-05/0.2872, allocations: 3.938 kB / 1.242 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.2873, allocations: 0 / 1.242 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.2873, allocations: 0 / 1.242 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.071e-05/0.2873, allocations: 0 / 1.242 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.646e-05/0.2874, allocations: 4 kB / 1.242 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.733e-05/0.2874, allocations: 4 kB / 1.242 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.2875, allocations: 0 / 1.242 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.184e-05/0.2875, allocations: 0 / 1.242 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.398e-05/0.2875, allocations: 0 / 1.242 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2875, allocations: 0 / 1.242 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-06/0.2875, allocations: 3.938 kB / 1.242 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.2875, allocations: 11.98 kB / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.2876, allocations: 0 / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.045e-05/0.2876, allocations: 3.984 kB / 1.242 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2876, allocations: 0 / 1.242 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2876, allocations: 4 kB / 1.242 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2876, allocations: 0 / 1.242 GB, free: 8.336 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002766/0.2879, allocations: 307.9 kB / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.288, allocations: 8.031 kB / 1.243 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.288, allocations: 30.75 kB / 1.243 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.288, allocations: 16.83 kB / 1.243 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2881, allocations: 168.3 kB / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2881, allocations: 384 / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-06/0.2882, allocations: 384 / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.639e-05/0.2882, allocations: 34.27 kB / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2882, allocations: 3.938 kB / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.2883, allocations: 0 / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2883, allocations: 0 / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.344e-05/0.2883, allocations: 0 / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2886, allocations: 387.4 kB / 1.243 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.2887, allocations: 173.1 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.2887, allocations: 84.08 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.2887, allocations: 75.28 kB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.2888, allocations: 113.9 kB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2888, allocations: 0 / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.063e-05/0.2889, allocations: 30.02 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.2889, allocations: 130.7 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.289, allocations: 97.84 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.289, allocations: 25.7 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.2891, allocations: 80.14 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.2891, allocations: 0 / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.2891, allocations: 17.72 kB / 1.244 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2892, allocations: 314.8 kB / 1.244 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/0.2892, allocations: 4.125 kB / 1.244 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.2892, allocations: 0 / 1.244 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.2893, allocations: 75.28 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-05/0.2893, allocations: 79.22 kB / 1.245 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.165e-05/0.2894, allocations: 37.62 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.2894, allocations: 79.28 kB / 1.245 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.2894, allocations: 79.27 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.358e-05/0.2895, allocations: 154.6 kB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.787e-05/0.2895, allocations: 83.22 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.663e-05/0.2896, allocations: 154.6 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.2897, allocations: 80.7 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.2897, allocations: 79.28 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001138/0.2898, allocations: 264.3 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.2899, allocations: 105 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.2899, allocations: 108 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.339e-05/0.29, allocations: 184.3 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.018e-05/0.2901, allocations: 180.2 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.466e-05/0.2901, allocations: 180.2 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.2904, allocations: 405.2 kB / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.104e-05/0.2904, allocations: 112.9 kB / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.2905, allocations: 105 kB / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.848e-05/0.2905, allocations: 184.2 kB / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.2906, allocations: 184.2 kB / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.985e-05/0.2907, allocations: 180.5 kB / 1.247 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.617e-05/0.2907, allocations: 180.3 kB / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.2909, allocations: 315.7 kB / 1.248 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.291, allocations: 178.1 kB / 1.248 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.291, allocations: 184.2 kB / 1.248 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.2911, allocations: 105 kB / 1.248 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.2912, allocations: 184.2 kB / 1.248 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.2912, allocations: 108.9 kB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.2913, allocations: 79.28 kB / 1.249 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2913, allocations: 0 / 1.249 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002209/0.2915, allocations: 0 / 1.249 GB, free: 1.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004117/0.2919, allocations: 0.8093 MB / 1.249 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.433e-05/0.292, allocations: 7.938 kB / 1.249 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.292, allocations: 0 / 1.249 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.292, allocations: 0 / 1.249 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.2923, allocations: 459.7 kB / 1.25 GB, free: 184 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.2933, allocations: 1.524 MB / 1.251 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2936, allocations: 0.669 MB / 1.252 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.961e-06/0.2936, allocations: 4 kB / 1.252 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.2936, allocations: 7.438 kB / 1.252 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of SimCode: time 1.8e-07/0.2936, allocations: 0 / 1.252 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.519/2.813, allocations: 0.9273 MB / 1.253 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/11.17, allocations: 11.48 kB / 1.253 GB, free: 13.07 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches