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 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: 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.001472/0.001472, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 66.19 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3043, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003196/0.3076, allocations: 1.724 MB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3092, allocations: 0.9045 MB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3094, allocations: 4 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.3096, allocations: 27.67 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.31, allocations: 119.4 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.3104, allocations: 155.6 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.3107, allocations: 243.3 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3109, allocations: 41.64 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.311, allocations: 103.7 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00975/0.3208, allocations: 1.702 MB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/0.3209, allocations: 16 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.321, allocations: 32 kB / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.3211, allocations: 39.89 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.3213, allocations: 99.44 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.3216, allocations: 211.4 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3217, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3217, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3217, allocations: 4 kB / 1.073 GB, free: 5.496 MB / 0.8262 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.0008595/0.3225, allocations: 0.5489 MB / 1.074 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3226, allocations: 8.031 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.3227, allocations: 24.66 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.323, allocations: 247.5 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.323, allocations: 8 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.323, allocations: 16 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3232, allocations: 89.64 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3232, allocations: 4 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3233, allocations: 4 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3233, allocations: 3.938 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3234, allocations: 51.92 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.3241, allocations: 468.3 kB / 1.075 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.3246, allocations: 138.7 kB / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.3246, allocations: 36.86 kB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3247, allocations: 0 / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.3249, allocations: 117 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.3249, allocations: 0 / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003287/0.3253, allocations: 165.4 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3253, allocations: 59.34 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3255, allocations: 200.3 kB / 1.076 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3256, allocations: 33.7 kB / 1.076 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.3257, allocations: 124.5 kB / 1.076 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3257, allocations: 35.53 kB / 1.076 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.3258, allocations: 61.67 kB / 1.076 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3259, allocations: 326.8 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.326, allocations: 35.92 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.3262, allocations: 129.1 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3264, allocations: 108.1 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3264, allocations: 3.938 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002319/0.3266, allocations: 149.3 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3266, allocations: 6.5 kB / 1.077 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3267, allocations: 4 kB / 1.077 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3267, allocations: 0 / 1.077 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.3268, allocations: 19.92 kB / 1.077 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3268, allocations: 4 kB / 1.077 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.327, allocations: 28.05 kB / 1.077 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.327, allocations: 7.938 kB / 1.077 GB, free: 2.008 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: 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.0001206/0.3271, allocations: 139.5 kB / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.3272, allocations: 23.7 kB / 1.077 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.3272, allocations: 17.88 kB / 1.077 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3272, allocations: 4 kB / 1.077 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3273, allocations: 4 kB / 1.077 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3273, allocations: 0 / 1.077 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/0.3279, allocations: 0.4923 MB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3279, allocations: 0 / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.3279, allocations: 0 / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3279, allocations: 4 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.328, allocations: 0 / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.328, allocations: 3.938 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.328, allocations: 4 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3282, allocations: 235.2 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.3283, allocations: 92.91 kB / 1.078 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.3283, allocations: 4 kB / 1.078 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3285, allocations: 15.92 kB / 1.078 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.3285, allocations: 23.97 kB / 1.078 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.3286, allocations: 4 kB / 1.078 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001195/0.3287, allocations: 148.5 kB / 1.078 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3287, allocations: 0 / 1.078 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003054/0.329, allocations: 39.94 kB / 1.078 GB, free: 0.6641 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: 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.0003209/0.3293, allocations: 177.8 kB / 1.078 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3296, allocations: 114.1 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3296, allocations: 0 / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.3297, allocations: 51.92 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3301, allocations: 68.55 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.3308, allocations: 315.2 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3311, allocations: 0.7242 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.428e-05/0.3311, allocations: 25.53 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.3312, allocations: 19.44 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3312, allocations: 0 / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.007371/0.3386, allocations: 3.72 MB / 1.083 GB, free: 11.47 MB / 0.8419 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches