Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.0008652/0.0008652, 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.0008962/0.0008962, 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.9024/0.9024, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.009e-05, allocations: 9.172 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00217/0.00219, allocations: 1.74 MB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003289, allocations: 0.9006 MB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.003359, allocations: 3.938 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.00353, allocations: 31.61 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.00382, allocations: 119.4 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.004058, allocations: 157.3 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.004258, allocations: 251.3 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004361, allocations: 25.8 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.004489, allocations: 147.7 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005997/0.01049, allocations: 2.019 MB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.01053, allocations: 16 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.01061, allocations: 35.94 kB / 0.9862 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.01067, allocations: 43.81 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.01075, allocations: 67.81 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.01106, allocations: 235.3 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01106, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01106, allocations: 4 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.01107, allocations: 0 / 0.9866 GB, free: 13.35 MB / 0.948 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.000596/0.01167, allocations: 0.4965 MB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.0117, allocations: 8.031 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.01173, allocations: 38.75 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.01178, allocations: 20.84 kB / 0.9871 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.01198, allocations: 182 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.012, allocations: 16.12 kB / 0.9873 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.01202, allocations: 16 kB / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.01215, allocations: 88.23 kB / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.01216, allocations: 0 / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.01217, allocations: 8 kB / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.01218, allocations: 0 / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.01226, allocations: 55.92 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.01279, allocations: 399.6 kB / 0.9879 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.01306, allocations: 130.7 kB / 0.988 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.01311, allocations: 36.78 kB / 0.988 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.01312, allocations: 7.938 kB / 0.988 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.01327, allocations: 107.5 kB / 0.9881 GB, free: 11.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.01327, allocations: 0 / 0.9881 GB, free: 11.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0002679/0.01354, allocations: 173.4 kB / 0.9883 GB, free: 11.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.01357, allocations: 51.41 kB / 0.9883 GB, free: 11.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.0137, allocations: 200.1 kB / 0.9885 GB, free: 11.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01373, allocations: 33.7 kB / 0.9886 GB, free: 11.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.01379, allocations: 132.5 kB / 0.9887 GB, free: 11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.01382, allocations: 35.73 kB / 0.9887 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.01388, allocations: 57.69 kB / 0.9888 GB, free: 10.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.01395, allocations: 326.8 kB / 0.9891 GB, free: 10.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.014, allocations: 35.98 kB / 0.9891 GB, free: 10.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.01419, allocations: 236.8 kB / 0.9893 GB, free: 10.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.01429, allocations: 96.23 kB / 0.9894 GB, free: 10.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.01429, allocations: 11.94 kB / 0.9894 GB, free: 10.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001568/0.01445, allocations: 155.9 kB / 0.9896 GB, free: 9.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.01446, allocations: 8 kB / 0.9896 GB, free: 9.973 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.01446, allocations: 0 / 0.9896 GB, free: 9.973 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01448, allocations: 8 kB / 0.9896 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.01452, allocations: 15.94 kB / 0.9896 GB, free: 9.949 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01453, allocations: 0 / 0.9896 GB, free: 9.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.01463, allocations: 31.86 kB / 0.9897 GB, free: 9.918 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01464, allocations: 8.125 kB / 0.9897 GB, free: 9.91 MB / 0.948 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 8.746e-05/0.01473, allocations: 143.7 kB / 0.9898 GB, free: 9.762 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.01474, allocations: 15.91 kB / 0.9898 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.01478, allocations: 21.8 kB / 0.9898 GB, free: 9.723 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01478, allocations: 0 / 0.9898 GB, free: 9.723 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01478, allocations: 0 / 0.9898 GB, free: 9.723 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01479, allocations: 0 / 0.9898 GB, free: 9.723 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.01519, allocations: 460.2 kB / 0.9903 GB, free: 9.227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01519, allocations: 4 kB / 0.9903 GB, free: 9.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.0152, allocations: 11.92 kB / 0.9903 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01521, allocations: 0 / 0.9903 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.01521, allocations: 8 kB / 0.9903 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01522, allocations: 0 / 0.9903 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01522, allocations: 3.938 kB / 0.9903 GB, free: 9.199 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.01536, allocations: 227.4 kB / 0.9905 GB, free: 8.961 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.01538, allocations: 19.84 kB / 0.9905 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.01539, allocations: 0 / 0.9905 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.01547, allocations: 15.98 kB / 0.9906 GB, free: 8.926 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.01552, allocations: 35.83 kB / 0.9906 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01554, allocations: 4 kB / 0.9906 GB, free: 8.887 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.821e-05/0.01564, allocations: 144.2 kB / 0.9907 GB, free: 8.746 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01564, allocations: 4 kB / 0.9907 GB, free: 8.742 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000205/0.01584, allocations: 39.95 kB / 0.9908 GB, free: 8.703 MB / 0.948 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.0004957/0.01634, allocations: 0.843 MB / 0.9916 GB, free: 7.859 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.01651, allocations: 91.91 kB / 0.9917 GB, free: 7.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01651, allocations: 0 / 0.9917 GB, free: 7.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.01657, allocations: 52.16 kB / 0.9917 GB, free: 7.719 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01684, allocations: 59.78 kB / 0.9918 GB, free: 7.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.01819, allocations: 1.888 MB / 0.9936 GB, free: 5.664 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.787e-05/0.01826, allocations: 124 kB / 0.9938 GB, free: 5.527 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.029e-05/0.01831, allocations: 17.64 kB / 0.9938 GB, free: 5.512 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.01839, allocations: 64.41 kB / 0.9938 GB, free: 5.445 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.01839, allocations: 0 / 0.9938 GB, free: 5.445 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.03637, allocations: 6.61 MB / 1 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.244, allocations: 5.609 kB / 1 GB, free: 15.06 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.317831669002771]