Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.0009115/0.0009115, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005409/0.005409, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.111/2.111, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002864, allocations: 11.94 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5442, allocations: 142.4 MB / 0.9552 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001486/0.5457, allocations: 1.425 MB / 0.9566 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.5465, allocations: 0.6183 MB / 0.9572 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.5466, allocations: 1.156 kB / 0.9572 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.5468, allocations: 27.67 kB / 0.9572 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.547, allocations: 82.31 kB / 0.9573 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.5472, allocations: 129.9 kB / 0.9574 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.5474, allocations: 207.5 kB / 0.9576 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.5475, allocations: 24.2 kB / 0.9576 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.5476, allocations: 86.67 kB / 0.9577 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04348/0.5911, allocations: 3.198 MB / 0.9608 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.5911, allocations: 8.312 kB / 0.9608 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.5912, allocations: 29.98 kB / 0.9609 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.5913, allocations: 30.66 kB / 0.9609 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.5914, allocations: 101.2 kB / 0.961 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.5916, allocations: 176.8 kB / 0.9611 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5916, allocations: 1 kB / 0.9611 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5916, allocations: 0 / 0.9611 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5916, allocations: 3.938 kB / 0.9612 GB, free: 4.418 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005064/0.5921, allocations: 0.4895 MB / 0.9616 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5921, allocations: 12.84 kB / 0.9616 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.5922, allocations: 37.31 kB / 0.9617 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.5922, allocations: 18.28 kB / 0.9617 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.5924, allocations: 249.3 kB / 0.9619 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5924, allocations: 9.594 kB / 0.9619 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.5925, allocations: 12.59 kB / 0.962 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.5926, allocations: 82.94 kB / 0.962 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5926, allocations: 1.188 kB / 0.962 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5927, allocations: 5.219 kB / 0.962 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5927, allocations: 1.375 kB / 0.962 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.161e-05/0.5927, allocations: 42.86 kB / 0.9621 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.5934, allocations: 452.7 kB / 0.9625 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5935, allocations: 64.91 kB / 0.9626 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.5935, allocations: 30.72 kB / 0.9626 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5935, allocations: 5.047 kB / 0.9626 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.5937, allocations: 94.25 kB / 0.9627 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.5937, allocations: 0.9375 kB / 0.9627 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002347/0.5939, allocations: 130 kB / 0.9628 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.5939, allocations: 54.06 kB / 0.9629 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.5941, allocations: 191.4 kB / 0.9631 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5941, allocations: 33.55 kB / 0.9631 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.5942, allocations: 120.1 kB / 0.9632 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.5942, allocations: 20.25 kB / 0.9632 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.5942, allocations: 27.52 kB / 0.9632 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.5944, allocations: 327.4 kB / 0.9636 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.5945, allocations: 25.52 kB / 0.9636 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.5947, allocations: 124.5 kB / 0.9637 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.5948, allocations: 91.86 kB / 0.9638 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5948, allocations: 0 / 0.9638 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001766/0.595, allocations: 130.6 kB / 0.9639 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.595, allocations: 10.06 kB / 0.9639 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.595, allocations: 5.156 kB / 0.9639 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.595, allocations: 2.594 kB / 0.9639 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.5951, allocations: 21.58 kB / 0.964 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5951, allocations: 2.625 kB / 0.964 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.5953, allocations: 19.64 kB / 0.964 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5953, allocations: 4.5 kB / 0.964 GB, free: 1.852 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.586e-05/0.5954, allocations: 141 kB / 0.9641 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.5954, allocations: 26.53 kB / 0.9641 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.5954, allocations: 25.02 kB / 0.9642 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5954, allocations: 1.25 kB / 0.9642 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5955, allocations: 1.062 kB / 0.9642 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.5955, allocations: 0 / 0.9642 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.5958, allocations: 444.9 kB / 0.9646 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5959, allocations: 4 kB / 0.9646 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.5959, allocations: 3.062 kB / 0.9646 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5959, allocations: 1.125 kB / 0.9646 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.5959, allocations: 1.031 kB / 0.9646 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5959, allocations: 1.125 kB / 0.9646 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5959, allocations: 3.938 kB / 0.9646 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.596, allocations: 211.7 kB / 0.9648 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.5961, allocations: 88.11 kB / 0.9649 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.5961, allocations: 9.938 kB / 0.9649 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.5962, allocations: 10.08 kB / 0.9649 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.5963, allocations: 11.08 kB / 0.9649 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.5963, allocations: 12.2 kB / 0.9649 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.291e-05/0.5964, allocations: 136.6 kB / 0.9651 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5964, allocations: 0 / 0.9651 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002693/0.5967, allocations: 39.17 kB / 0.9651 GB, free: 0.8516 MB / 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004456/0.5971, allocations: 0.8191 MB / 0.9659 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.5973, allocations: 72.53 kB / 0.966 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5973, allocations: 5 kB / 0.966 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.5974, allocations: 39.31 kB / 0.966 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.5977, allocations: 47.89 kB / 0.9661 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.5995, allocations: 1.793 MB / 0.9678 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.5997, allocations: 0.7237 MB / 0.9685 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.202e-05/0.5998, allocations: 25.11 kB / 0.9685 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.5999, allocations: 41.8 kB / 0.9686 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 1.703e-06/0.5999, allocations: 0.75 kB / 0.9686 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.6142, allocations: 4.561 MB / 0.973 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/0.6145, allocations: 264.8 kB / 0.9733 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.318, allocations: 3.938 kB / 0.9733 GB, free: 11.15 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches