Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8925/0.8925, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.811/1.811, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.26e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002493/0.002516, allocations: 1.626 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.003451, allocations: 0.5653 MB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.003528, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.003712, allocations: 31.61 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.004086, allocations: 119.4 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.004446, allocations: 153.5 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.004719, allocations: 215.4 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.004847, allocations: 17.8 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.004988, allocations: 135.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004844/0.009832, allocations: 1.561 MB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.009876, allocations: 16 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.009965, allocations: 32 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.01002, allocations: 39.83 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.0101, allocations: 59.81 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.0104, allocations: 211.4 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.0104, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01041, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.01041, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 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.0005844/0.011, allocations: 480.7 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01104, allocations: 8.75 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.01107, allocations: 38.75 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.01112, allocations: 20.84 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.01132, allocations: 165.5 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.01134, allocations: 8.375 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.01136, allocations: 24.06 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.01149, allocations: 87.92 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.0115, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.01151, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.01151, allocations: 8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.405e-05/0.01159, allocations: 43.97 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.0121, allocations: 379.6 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.01223, allocations: 62.56 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.01226, allocations: 24.84 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.01228, allocations: 0 / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.01239, allocations: 95.33 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.01239, allocations: 192 / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0002324/0.01263, allocations: 133.4 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.01266, allocations: 59.34 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.0128, allocations: 184.4 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01283, allocations: 33.7 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.0129, allocations: 112.1 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.01292, allocations: 35.86 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.01298, allocations: 49.69 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.01307, allocations: 330.8 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.01311, allocations: 28 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.0133, allocations: 238.3 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.555e-05/0.0134, allocations: 80.23 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.0134, allocations: 7.984 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001497/0.01355, allocations: 121.5 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01356, allocations: 4.125 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01357, allocations: 7.984 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.01358, allocations: 7.938 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.01364, allocations: 15.94 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01365, allocations: 4 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.01374, allocations: 23.88 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.01375, allocations: 4 kB / 1.007 GB, free: 6.062 MB / 0.9636 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 9.399e-05/0.01385, allocations: 137.8 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.01386, allocations: 23.83 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.01389, allocations: 17.47 kB / 1.007 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01389, allocations: 4 kB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.0139, allocations: 7.875 kB / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.0139, allocations: 4 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.01424, allocations: 381.9 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01424, allocations: 3.938 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.01426, allocations: 7.984 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01426, allocations: 0 / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.01427, allocations: 4 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01427, allocations: 0 / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01427, allocations: 0 / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.0144, allocations: 215.4 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.01441, allocations: 19.78 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.01443, allocations: 7.984 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.01448, allocations: 4 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.01453, allocations: 15.97 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.01454, allocations: 8 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.83e-05/0.01462, allocations: 137.1 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01462, allocations: 0 / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002116/0.01483, allocations: 36 kB / 1.008 GB, free: 4.973 MB / 0.9636 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.0005397/0.01537, allocations: 0.8216 MB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01553, allocations: 67.91 kB / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01553, allocations: 0 / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.01558, allocations: 43.91 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.01584, allocations: 46.3 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.01725, allocations: 1.796 MB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.244e-05/0.01732, allocations: 110.3 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.293e-05/0.01738, allocations: 17.42 kB / 1.011 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.01745, allocations: 48.47 kB / 1.011 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.01745, allocations: 0 / 1.011 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.03691, allocations: 5.963 MB / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.304, allocations: 7.516 kB / 1.017 GB, free: 12.12 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.444179904647171]