Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.89 kB / 1.059 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2632, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003021/0.2662, allocations: 1.639 MB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2672, allocations: 0.6235 MB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.2673, allocations: 7.938 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2674, allocations: 11.86 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.2677, allocations: 51.75 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.2681, allocations: 107.8 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.2684, allocations: 187.6 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.2685, allocations: 17.12 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.2686, allocations: 83.8 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.2688, allocations: 91.59 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.2688, allocations: 23.94 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.2689, allocations: 24 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.269, allocations: 31.91 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.692e-05/0.2691, allocations: 71.66 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2693, allocations: 171.6 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2693, allocations: 0 / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2693, allocations: 0 / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2693, allocations: 0 / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007402/0.2701, allocations: 0.564 MB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2701, allocations: 8.031 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.2701, allocations: 42.73 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.2702, allocations: 20.84 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.2705, allocations: 241.2 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2705, allocations: 8.375 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.2706, allocations: 12.38 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.2709, allocations: 113.5 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2709, allocations: 8 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2709, allocations: 0 / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2709, allocations: 4 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.2711, allocations: 71.88 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.2717, allocations: 404.7 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.2719, allocations: 86.56 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.2721, allocations: 68.81 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2721, allocations: 4.141 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.2724, allocations: 178.7 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.2724, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007326/0.2731, allocations: 353.1 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.2732, allocations: 170.2 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2734, allocations: 178.5 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.2734, allocations: 33.7 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.2735, allocations: 108.4 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2736, allocations: 27.8 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.2736, allocations: 37.7 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2738, allocations: 338.8 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.2739, allocations: 51.97 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2741, allocations: 102.6 kB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.2744, allocations: 313 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2744, allocations: 0 / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005458/0.275, allocations: 352.1 kB / 1.222 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.2751, allocations: 118.8 kB / 1.222 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2751, allocations: 0 / 1.222 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2751, allocations: 4.25 kB / 1.222 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2752, allocations: 27.86 kB / 1.222 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.2752, allocations: 4.078 kB / 1.222 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.2753, allocations: 15.94 kB / 1.222 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.2753, allocations: 15.97 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.000193/0.2755, allocations: 201.2 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.2756, allocations: 15.91 kB / 1.223 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.2756, allocations: 13.41 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2756, allocations: 3.938 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2756, allocations: 4 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2756, allocations: 7.984 kB / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.2764, allocations: 0.5876 MB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2764, allocations: 3.938 kB / 1.223 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.2765, allocations: 11.98 kB / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2765, allocations: 0 / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2765, allocations: 12 kB / 1.223 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2765, allocations: 3.984 kB / 1.223 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2765, allocations: 7.938 kB / 1.223 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.2772, allocations: 410.6 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.2772, allocations: 85.06 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.2773, allocations: 4 kB / 1.224 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2774, allocations: 8 kB / 1.224 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.2774, allocations: 11.92 kB / 1.224 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2774, allocations: 19.98 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001162/0.2776, allocations: 128.8 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2776, allocations: 3.938 kB / 1.224 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003105/0.2779, allocations: 32 kB / 1.224 GB, free: 6.617 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.001148/0.279, allocations: 0.9659 MB / 1.225 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005804/0.2796, allocations: 357.4 kB / 1.225 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2796, allocations: 0.5 kB / 1.225 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.2799, allocations: 182.7 kB / 1.225 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2802, allocations: 23.92 kB / 1.226 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.2829, allocations: 2.12 MB / 1.228 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2832, allocations: 0.708 MB / 1.228 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.362e-05/0.2833, allocations: 20.53 kB / 1.228 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.2834, allocations: 35.42 kB / 1.228 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.2834, allocations: 4 kB / 1.228 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.311, allocations: 3.657 MB / 1.232 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.602, allocations: 4 kB / 1.232 GB, free: 14.37 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVWriter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cos.y in file Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.csv. Warning: Get data of variable cos.y from file Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.csv failed! Error: Could not read variable step.y in file Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.csv. Warning: Get data of variable step.y from file Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.782436572000734]