Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.000935/0.000935, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.33/2.33, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 55.75 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2914, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003187/0.2946, allocations: 1.739 MB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.296, allocations: 0.9006 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.2961, allocations: 3.938 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.2963, allocations: 35.7 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.2966, allocations: 115.4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.297, allocations: 147.7 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.2972, allocations: 243.3 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2974, allocations: 33.67 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2975, allocations: 111.7 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009654/0.3071, allocations: 1.707 MB / 1.032 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/0.3072, allocations: 16 kB / 1.032 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3074, allocations: 39.98 kB / 1.032 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.3074, allocations: 43.83 kB / 1.032 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3076, allocations: 99.48 kB / 1.032 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.308, allocations: 207.4 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.308, allocations: 0 / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.582e-06/0.308, allocations: 0 / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.308, allocations: 0 / 1.032 GB, free: 13.09 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008293/0.3088, allocations: 0.5657 MB / 1.033 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3089, allocations: 8.031 kB / 1.033 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.309, allocations: 20.75 kB / 1.033 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3093, allocations: 243.4 kB / 1.033 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3093, allocations: 12 kB / 1.033 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.3093, allocations: 16 kB / 1.033 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3095, allocations: 89.59 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3095, allocations: 3.984 kB / 1.033 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3095, allocations: 8 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3096, allocations: 0 / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3097, allocations: 55.92 kB / 1.033 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.3105, allocations: 468.3 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.3109, allocations: 126.7 kB / 1.034 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.311, allocations: 32.86 kB / 1.034 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.311, allocations: 8 kB / 1.034 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.3112, allocations: 115.2 kB / 1.034 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.3112, allocations: 0 / 1.034 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003381/0.3116, allocations: 160 kB / 1.034 GB, free: 11 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3116, allocations: 59.34 kB / 1.034 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3118, allocations: 203.3 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.3119, allocations: 33.7 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.312, allocations: 124.5 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.312, allocations: 35.55 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.3121, allocations: 57.69 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3122, allocations: 330.8 kB / 1.035 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.3123, allocations: 31.92 kB / 1.035 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.3126, allocations: 135.6 kB / 1.035 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3127, allocations: 98.09 kB / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3127, allocations: 0 / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002556/0.313, allocations: 157.3 kB / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.313, allocations: 6.656 kB / 1.035 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.313, allocations: 0 / 1.035 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.313, allocations: 4 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.3131, allocations: 12 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3131, allocations: 7.922 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3133, allocations: 27.83 kB / 1.035 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3133, allocations: 8 kB / 1.035 GB, free: 9.602 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: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001335/0.3135, allocations: 143.7 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.3135, allocations: 15.81 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3136, allocations: 21.91 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3136, allocations: 3.984 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3136, allocations: 0 / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3136, allocations: 7.938 kB / 1.035 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.3143, allocations: 498 kB / 1.036 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3143, allocations: 4 kB / 1.036 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.3143, allocations: 7.938 kB / 1.036 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3143, allocations: 0 / 1.036 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3144, allocations: 4 kB / 1.036 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3144, allocations: 3.938 kB / 1.036 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3144, allocations: 0 / 1.036 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.3146, allocations: 234.1 kB / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3147, allocations: 88.92 kB / 1.036 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3147, allocations: 11.92 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.3148, allocations: 19.92 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.3149, allocations: 23.91 kB / 1.036 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.315, allocations: 8 kB / 1.036 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001184/0.3151, allocations: 142 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3151, allocations: 0 / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003069/0.3154, allocations: 40 kB / 1.036 GB, free: 8.258 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003407/0.3157, allocations: 172.9 kB / 1.037 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.316, allocations: 105.9 kB / 1.037 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.316, allocations: 0 / 1.037 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3161, allocations: 51.92 kB / 1.037 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3165, allocations: 59.95 kB / 1.037 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.3171, allocations: 307.5 kB / 1.037 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3174, allocations: 0.7242 MB / 1.038 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.023e-05/0.3175, allocations: 21.55 kB / 1.038 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.3175, allocations: 31.36 kB / 1.038 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3176, allocations: 0 / 1.038 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of Templates: time 0.007901/0.3255, allocations: 3.732 MB / 1.041 GB, free: 3.074 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches