Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.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: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",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.001114/0.001114, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.28/2.28, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6311, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001594/0.6328, allocations: 0.5908 MB / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.329e-05/0.6328, allocations: 1.375 kB / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.6328, allocations: 4 kB / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.6329, allocations: 0 / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.6329, allocations: 3.938 kB / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.7e-05/0.6329, allocations: 1.75 kB / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.633, allocations: 0 / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.633, allocations: 5.812 kB / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.633, allocations: 3.984 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.641e-05/0.6331, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6331, allocations: 1.344 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-06/0.6331, allocations: 3.938 kB / 0.9503 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.6331, allocations: 0 / 0.9503 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.6331, allocations: 5.375 kB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.507e-05/0.6332, allocations: 0 / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6332, allocations: 0 / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6332, allocations: 1.344 kB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.6332, allocations: 0 / 0.9503 GB, free: 8.727 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001872/0.6334, allocations: 311.7 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.6334, allocations: 9.469 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.265e-05/0.6335, allocations: 35.81 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.702e-05/0.6335, allocations: 0.9375 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.581e-05/0.6335, allocations: 160.4 kB / 0.9508 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/0.6335, allocations: 5.25 kB / 0.9508 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.6336, allocations: 1.562 kB / 0.9508 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.6336, allocations: 26.95 kB / 0.9508 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.6336, allocations: 9.094 kB / 0.9508 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.6337, allocations: 3.984 kB / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6337, allocations: 0 / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.6337, allocations: 1.312 kB / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.292e-05/0.6338, allocations: 143.3 kB / 0.951 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.127e-05/0.6338, allocations: 24.27 kB / 0.951 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.6338, allocations: 7.391 kB / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.6339, allocations: 1.75 kB / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.083e-05/0.6339, allocations: 30.56 kB / 0.951 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.6339, allocations: 0 / 0.951 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001036/0.634, allocations: 42.81 kB / 0.9511 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.634, allocations: 63.47 kB / 0.9512 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.634e-05/0.634, allocations: 89.86 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.634, allocations: 30.92 kB / 0.9513 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-06/0.6341, allocations: 80.14 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.6341, allocations: 3.906 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.6341, allocations: 13.12 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.6342, allocations: 310.8 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-06/0.6342, allocations: 0 / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-06/0.6342, allocations: 5.531 kB / 0.9517 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.6342, allocations: 15.83 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6342, allocations: 0 / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.755e-05/0.6343, allocations: 34.81 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6343, allocations: 4.938 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6343, allocations: 3.938 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6343, allocations: 1.188 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.6343, allocations: 1.062 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6344, allocations: 1.094 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-06/0.6344, allocations: 4.094 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.6344, allocations: 1.125 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.653e-05/0.6344, allocations: 107.2 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.6344, allocations: 0 / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.6344, allocations: 15.05 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6345, allocations: 5.359 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6345, allocations: 0 / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.6345, allocations: 0 / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.993e-05/0.6345, allocations: 145.4 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.6345, allocations: 4 kB / 0.952 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-06/0.6345, allocations: 6 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.6345, allocations: 0 / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.6345, allocations: 9.094 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.6345, allocations: 0 / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6346, allocations: 0 / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.406e-05/0.6346, allocations: 59.56 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.6346, allocations: 77.11 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.6346, allocations: 9.125 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.6346, allocations: 0 / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.6347, allocations: 1.281 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.6347, allocations: 0 / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.105e-05/0.6347, allocations: 80.41 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.6347, allocations: 0 / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001894/0.6349, allocations: 1.281 kB / 0.9522 GB, free: 6.512 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001813/0.6351, allocations: 0.6008 MB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.665e-05/0.6351, allocations: 2.5 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6352, allocations: 1.219 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.6352, allocations: 6.047 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.6353, allocations: 3.281 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.6355, allocations: 113.1 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.6356, allocations: 0.6787 MB / 0.9536 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.017e-06/0.6356, allocations: 0 / 0.9536 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.6356, allocations: 7.438 kB / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6357, allocations: 0 / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.6516, allocations: 0.8528 MB / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/7.476, allocations: 2.938 kB / 0.9544 GB, free: 4.5 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,modTim.y Variables in the result:modTim.y,time