Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.0009664/0.0009664, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009833/0.0009833, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9107/0.9107, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.271e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002895/0.002917, allocations: 2.15 MB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.003745, allocations: 0.5126 MB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.00385, allocations: 7.938 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007825/0.004633, allocations: 407.8 kB / 0.7905 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.004849, allocations: 105.4 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.00509, allocations: 109.8 kB / 0.7907 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.005308, allocations: 207.3 kB / 0.7909 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.00556, allocations: 134.1 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.00569, allocations: 119.8 kB / 0.7912 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.005903, allocations: 97.84 kB / 0.7913 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.005927, allocations: 12 kB / 0.7913 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.006058, allocations: 75.86 kB / 0.7913 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.006122, allocations: 59.81 kB / 0.7914 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.006171, allocations: 55.84 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.006378, allocations: 159.5 kB / 0.7916 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.006383, allocations: 5.547 kB / 0.7916 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006384, allocations: 0 / 0.7916 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.006388, allocations: 0 / 0.7916 GB, free: 8.062 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004141/0.006802, allocations: 468.2 kB / 0.7921 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.006837, allocations: 9.406 kB / 0.7921 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.007106, allocations: 68.73 kB / 0.7921 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.007287, allocations: 154.2 kB / 0.7923 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.007299, allocations: 12.59 kB / 0.7923 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.007318, allocations: 20.31 kB / 0.7923 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.007527, allocations: 184 kB / 0.7925 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.007538, allocations: 5.156 kB / 0.7925 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.007554, allocations: 8.359 kB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.007587, allocations: 20.77 kB / 0.7925 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.007655, allocations: 58.61 kB / 0.7926 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.008325, allocations: 0.9911 MB / 0.7935 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.008375, allocations: 45.5 kB / 0.7936 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.008392, allocations: 11.77 kB / 0.7936 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.008403, allocations: 4 kB / 0.7936 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.008422, allocations: 33.39 kB / 0.7936 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.008423, allocations: 0 / 0.7936 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001193/0.008542, allocations: 57.58 kB / 0.7937 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.008569, allocations: 51.41 kB / 0.7937 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.008662, allocations: 204.1 kB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.00867, allocations: 25.7 kB / 0.7939 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.008742, allocations: 194.8 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.008753, allocations: 25.48 kB / 0.7942 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.00879, allocations: 39.31 kB / 0.7942 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.008899, allocations: 0.4922 MB / 0.7947 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.008922, allocations: 23.67 kB / 0.7947 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.008978, allocations: 110.8 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/0.009065, allocations: 132.2 kB / 0.7949 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.009067, allocations: 0.8438 kB / 0.7949 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001143/0.009181, allocations: 115.5 kB / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.009194, allocations: 4 kB / 0.795 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.009202, allocations: 4.906 kB / 0.7951 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.009213, allocations: 4 kB / 0.7951 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.009288, allocations: 25.53 kB / 0.7951 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009294, allocations: 11.92 kB / 0.7951 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.009336, allocations: 15.83 kB / 0.7951 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.009344, allocations: 11.94 kB / 0.7951 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.237e-05/0.009396, allocations: 144.1 kB / 0.7953 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.978e-05/0.009446, allocations: 100.5 kB / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.142e-05/0.009527, allocations: 135.8 kB / 0.7955 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.634e-06/0.00953, allocations: 7.984 kB / 0.7955 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001021/0.009632, allocations: 112.1 kB / 0.7956 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.009639, allocations: 8 kB / 0.7956 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.009643, allocations: 5.344 kB / 0.7956 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/0.009645, allocations: 0 / 0.7956 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.009694, allocations: 27.92 kB / 0.7956 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009697, allocations: 5 kB / 0.7956 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.009728, allocations: 4 kB / 0.7956 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.009733, allocations: 4 kB / 0.7956 GB, free: 3.496 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 0.0003638/0.0101, allocations: 284.6 kB / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.01011, allocations: 14.77 kB / 0.7959 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.01014, allocations: 8.344 kB / 0.7959 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.01014, allocations: 0 / 0.7959 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01014, allocations: 0 / 0.7959 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01014, allocations: 4 kB / 0.7959 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.01038, allocations: 474 kB / 0.7964 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01038, allocations: 0 / 0.7964 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.0104, allocations: 11.98 kB / 0.7964 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.0104, allocations: 0 / 0.7964 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.01041, allocations: 0 / 0.7964 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01041, allocations: 4 kB / 0.7964 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01041, allocations: 3.938 kB / 0.7964 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.01049, allocations: 116.3 kB / 0.7965 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.01051, allocations: 13.08 kB / 0.7965 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.01052, allocations: 0 / 0.7965 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.01054, allocations: 4 kB / 0.7965 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.01055, allocations: 9.047 kB / 0.7966 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.01055, allocations: 4 kB / 0.7966 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.0106, allocations: 148 kB / 0.7967 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 1 kB / 0.7967 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002178/0.01082, allocations: 55.84 kB / 0.7967 GB, free: 2.277 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.944e-05/0.0109, allocations: 103.7 kB / 0.7968 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01102, allocations: 92.27 kB / 0.7969 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01102, allocations: 0 / 0.7969 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.489e-05/0.01103, allocations: 27.61 kB / 0.797 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.01121, allocations: 25.5 kB / 0.797 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.01167, allocations: 275.3 kB / 0.7972 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.01171, allocations: 75.83 kB / 0.7973 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.01176, allocations: 8.484 kB / 0.7973 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.01181, allocations: 82.19 kB / 0.7974 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01181, allocations: 0 / 0.7974 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.0026/0.01441, allocations: 0.8749 MB / 0.7983 GB, free: 0.6641 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.684267923235893]