Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.000786/0.0007861, allocations: 99.42 kB / 16.02 MB, free: 76 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.0009105/0.0009105, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003778, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7267, allocations: 142.4 MB / 0.9557 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.001903/0.7286, allocations: 1.535 MB / 0.9572 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.73, allocations: 0.9258 MB / 0.9581 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.7301, allocations: 5.375 kB / 0.9581 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.7303, allocations: 23.53 kB / 0.9581 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.7307, allocations: 95.78 kB / 0.9582 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.731, allocations: 141.7 kB / 0.9584 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.7312, allocations: 221.9 kB / 0.9586 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.7314, allocations: 41.08 kB / 0.9586 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.7315, allocations: 101.4 kB / 0.9587 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05058/0.7821, allocations: 3.301 MB / 0.9619 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.7822, allocations: 9.531 kB / 0.9619 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.7824, allocations: 33.53 kB / 0.962 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.7825, allocations: 36.88 kB / 0.962 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.7826, allocations: 107 kB / 0.9621 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.7829, allocations: 144.8 kB / 0.9622 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7829, allocations: 0 / 0.9622 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7829, allocations: 0 / 0.9622 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.7829, allocations: 1.219 kB / 0.9622 GB, free: 3.938 MB / 0.7169 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.0008176/0.7838, allocations: 0.5222 MB / 0.9628 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.7838, allocations: 9.031 kB / 0.9628 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.7839, allocations: 23.34 kB / 0.9628 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.7842, allocations: 238.9 kB / 0.963 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.7843, allocations: 10.53 kB / 0.963 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.7843, allocations: 13.94 kB / 0.963 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.7845, allocations: 97.81 kB / 0.9631 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7846, allocations: 0 / 0.9631 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.7846, allocations: 9.312 kB / 0.9631 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.7846, allocations: 2.281 kB / 0.9631 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.7847, allocations: 48.5 kB / 0.9632 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.7855, allocations: 474.9 kB / 0.9636 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.786, allocations: 156.2 kB / 0.9638 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.7861, allocations: 34.73 kB / 0.9638 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.7861, allocations: 5.031 kB / 0.9638 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.7863, allocations: 115.8 kB / 0.9639 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.7863, allocations: 0 / 0.9639 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003561/0.7867, allocations: 166.3 kB / 0.9641 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.7867, allocations: 55.03 kB / 0.9641 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.7869, allocations: 199 kB / 0.9643 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.7869, allocations: 33.36 kB / 0.9644 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.787, allocations: 130 kB / 0.9645 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.7871, allocations: 34.36 kB / 0.9645 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.7871, allocations: 28.36 kB / 0.9646 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.7872, allocations: 332.4 kB / 0.9649 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.7873, allocations: 30.23 kB / 0.9649 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.7875, allocations: 137.4 kB / 0.965 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.7876, allocations: 103 kB / 0.9651 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7876, allocations: 1.219 kB / 0.9651 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002432/0.7879, allocations: 156.1 kB / 0.9653 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7879, allocations: 7.344 kB / 0.9653 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7879, allocations: 0 / 0.9653 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7879, allocations: 3.5 kB / 0.9653 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.788, allocations: 14.64 kB / 0.9653 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.788, allocations: 7.438 kB / 0.9653 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.7882, allocations: 30.17 kB / 0.9653 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.7883, allocations: 6.969 kB / 0.9653 GB, free: 1.258 MB / 0.7169 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.0001262/0.7884, allocations: 140.1 kB / 0.9655 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.7884, allocations: 19.09 kB / 0.9655 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.7885, allocations: 29.88 kB / 0.9655 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.7885, allocations: 2.031 kB / 0.9655 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.7885, allocations: 0 / 0.9655 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7885, allocations: 4.953 kB / 0.9655 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.7892, allocations: 0.4921 MB / 0.966 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7892, allocations: 4.875 kB / 0.966 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.7892, allocations: 7.031 kB / 0.966 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7892, allocations: 0.6875 kB / 0.966 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.7893, allocations: 9.859 kB / 0.966 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7893, allocations: 12.88 kB / 0.966 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7893, allocations: 0 / 0.966 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.7895, allocations: 223 kB / 0.9663 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.7896, allocations: 98 kB / 0.9664 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.7896, allocations: 5.406 kB / 0.9664 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.7897, allocations: 23.73 kB / 0.9664 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.7898, allocations: 20.34 kB / 0.9664 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.7899, allocations: 9.797 kB / 0.9664 GB, free: 328 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001287/0.79, allocations: 141.4 kB / 0.9665 GB, free: 220 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.79, allocations: 3.938 kB / 0.9665 GB, free: 216 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003515/0.7904, allocations: 51.41 kB / 0.9666 GB, free: 200 kB / 0.7169 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.0003497/0.7907, allocations: 161.2 kB / 0.9667 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.791, allocations: 102.1 kB / 0.9668 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.791, allocations: 4.812 kB / 0.9669 GB, free: 40 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.7911, allocations: 52.98 kB / 0.9669 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.7916, allocations: 52.11 kB / 0.967 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.7928, allocations: 380.1 kB / 0.9673 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.7931, allocations: 0.7216 MB / 0.968 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.7932, allocations: 28.05 kB / 0.968 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.7932, allocations: 3.938 kB / 0.968 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.007552/0.8008, allocations: 3.194 MB / 0.9712 GB, free: 13.3 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches