Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001216/0.001217, allocations: 187 kB / 17.34 MB, free: 5.762 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 64.12 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9126/0.914, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002763/0.9168, allocations: 1.591 MB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.9177, allocations: 0.5503 MB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.9178, allocations: 1.094 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.9178, allocations: 5.672 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.9181, allocations: 53.94 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.9183, allocations: 34.03 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.9184, allocations: 114 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.9186, allocations: 15.22 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.9187, allocations: 54.86 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.9188, allocations: 52.42 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.9189, allocations: 7.906 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.9189, allocations: 8.312 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.919, allocations: 21.17 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.919, allocations: 46.31 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.9192, allocations: 98.38 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9192, allocations: 1.156 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9192, allocations: 0 / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.9192, allocations: 0 / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007193/0.92, allocations: 405.6 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.92, allocations: 9.594 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.9201, allocations: 9.938 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.9202, allocations: 181.4 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9202, allocations: 8 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.9202, allocations: 5.734 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.9204, allocations: 96.14 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9205, allocations: 4.781 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.9205, allocations: 1.125 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.9205, allocations: 2.156 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.9206, allocations: 48.59 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.9212, allocations: 344.8 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.9215, allocations: 106 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.9216, allocations: 41.94 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.9216, allocations: 1.562 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.9219, allocations: 99.25 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.9219, allocations: 0 / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000378/0.9223, allocations: 145.6 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.9223, allocations: 57.59 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.9225, allocations: 128.9 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.9225, allocations: 26.42 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.9225, allocations: 97.61 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.9226, allocations: 30.38 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.9227, allocations: 29.08 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.9228, allocations: 320.3 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.9228, allocations: 37.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/0.9229, allocations: 34.03 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.9231, allocations: 62.41 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9231, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001884/0.9233, allocations: 111.8 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9233, allocations: 4.844 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9233, allocations: 1.031 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.9233, allocations: 1.5 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.9235, allocations: 21.78 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9235, allocations: 8.859 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.9236, allocations: 22.78 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.9236, allocations: 4.359 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.695e-05/0.9237, allocations: 118.4 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.9237, allocations: 8.312 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.924, allocations: 148.3 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.924, allocations: 1.406 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9241, allocations: 0.75 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.9241, allocations: 5.141 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.9243, allocations: 216.8 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9243, allocations: 0.5156 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.9244, allocations: 18.62 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.9244, allocations: 1.281 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.9244, allocations: 2.344 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9244, allocations: 0.9062 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9244, allocations: 1.406 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.9246, allocations: 166.2 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.9247, allocations: 97.36 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.9247, allocations: 2.469 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.9248, allocations: 10.19 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.9249, allocations: 9.844 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.9249, allocations: 9.875 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.925, allocations: 97.44 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.925, allocations: 0.8125 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002169/0.9252, allocations: 23.73 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001237/0.9253, allocations: 103.9 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.9256, allocations: 90.84 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.9256, allocations: 0 / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.9257, allocations: 50.02 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.9259, allocations: 9.531 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.9263, allocations: 228.6 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.9266, allocations: 0.7038 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.9266, allocations: 19.7 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9266, allocations: 0 / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.003514/0.9301, allocations: 1.277 MB / 1.097 GB, free: 15.88 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches