Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001564/0.001564, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.468/2.468, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 64.05 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8897, allocations: 140.4 MB / 0.9489 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003579/0.8934, allocations: 1.884 MB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.8952, allocations: 0.9524 MB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.8953, allocations: 1.5 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.8956, allocations: 23.73 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.896, allocations: 98.73 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.8964, allocations: 137.6 kB / 0.9519 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.8967, allocations: 228.6 kB / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.8968, allocations: 42.48 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.897, allocations: 104.6 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02113/0.9181, allocations: 1.527 MB / 0.9538 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.9183, allocations: 9.812 kB / 0.9538 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.9184, allocations: 28.52 kB / 0.9538 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.552e-05/0.9185, allocations: 35.33 kB / 0.9538 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.9187, allocations: 84.08 kB / 0.9539 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.919, allocations: 214.8 kB / 0.9541 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.919, allocations: 0 / 0.9541 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.919, allocations: 0 / 0.9541 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.919, allocations: 3.938 kB / 0.9541 GB, free: 6.031 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008283/0.9198, allocations: 0.5479 MB / 0.9547 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.9199, allocations: 9 kB / 0.9547 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.92, allocations: 19.16 kB / 0.9547 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.9203, allocations: 246.6 kB / 0.9549 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.9203, allocations: 15.31 kB / 0.9549 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.9203, allocations: 14.2 kB / 0.955 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.9206, allocations: 111.9 kB / 0.9551 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.9206, allocations: 1.156 kB / 0.9551 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.9206, allocations: 5.25 kB / 0.9551 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9206, allocations: 2.344 kB / 0.9551 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.9207, allocations: 53.53 kB / 0.9551 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.9215, allocations: 0.5393 MB / 0.9556 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.9217, allocations: 106.1 kB / 0.9557 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.9218, allocations: 43.14 kB / 0.9558 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.9218, allocations: 13.17 kB / 0.9558 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.922, allocations: 126.3 kB / 0.9559 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.9221, allocations: 0 / 0.9559 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003896/0.9224, allocations: 159.3 kB / 0.9561 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.9225, allocations: 85.09 kB / 0.9562 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.9227, allocations: 204.2 kB / 0.9564 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.9228, allocations: 32.92 kB / 0.9564 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.9229, allocations: 122 kB / 0.9565 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.9229, allocations: 37.52 kB / 0.9565 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.923, allocations: 60.14 kB / 0.9566 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9231, allocations: 331 kB / 0.9569 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.9232, allocations: 30.86 kB / 0.9569 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.9235, allocations: 147.2 kB / 0.9571 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.9236, allocations: 105.2 kB / 0.9572 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9236, allocations: 1.375 kB / 0.9572 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002565/0.9239, allocations: 169.1 kB / 0.9573 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.9239, allocations: 5.5 kB / 0.9573 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9239, allocations: 1.375 kB / 0.9573 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.924, allocations: 2.75 kB / 0.9573 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.9241, allocations: 20.3 kB / 0.9574 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.9241, allocations: 2.75 kB / 0.9574 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.9243, allocations: 24.3 kB / 0.9574 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.9243, allocations: 9.656 kB / 0.9574 GB, free: 3.102 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001239/0.9245, allocations: 145.2 kB / 0.9575 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.9245, allocations: 19.97 kB / 0.9576 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.9246, allocations: 17.66 kB / 0.9576 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.9246, allocations: 6.75 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9246, allocations: 0 / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.9246, allocations: 5.359 kB / 0.9576 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.9252, allocations: 468.4 kB / 0.958 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9252, allocations: 1.094 kB / 0.958 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.9252, allocations: 11.39 kB / 0.958 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.9252, allocations: 1.219 kB / 0.958 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.9252, allocations: 5.344 kB / 0.9581 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9252, allocations: 5.031 kB / 0.9581 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9252, allocations: 1.25 kB / 0.9581 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.9255, allocations: 232.2 kB / 0.9583 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.9255, allocations: 89.14 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.9255, allocations: 2.5 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.9257, allocations: 18.73 kB / 0.9584 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.9258, allocations: 16.16 kB / 0.9584 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.9258, allocations: 14.42 kB / 0.9584 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001162/0.9259, allocations: 140.2 kB / 0.9586 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9259, allocations: 5.062 kB / 0.9586 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003349/0.9263, allocations: 50.3 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003694/0.9266, allocations: 160.8 kB / 0.9588 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.9269, allocations: 100.2 kB / 0.9589 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9269, allocations: 1.125 kB / 0.9589 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.927, allocations: 42.42 kB / 0.9589 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.9275, allocations: 65.55 kB / 0.959 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.9282, allocations: 354.6 kB / 0.9593 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.9284, allocations: 0.7249 MB / 0.96 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.698e-05/0.9285, allocations: 34.69 kB / 0.96 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.9286, allocations: 19.41 kB / 0.9601 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.9286, allocations: 0 / 0.9601 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of Templates: time 0.008743/0.9373, allocations: 3.416 MB / 0.9634 GB, free: 15.12 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches