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.0007958/0.0007958, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007807/0.0007807, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8542/0.8542, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.636/1.636, allocations: 359 MB / 0.6044 GB, free: 11.09 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 2.675e-06/2.675e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.362e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004038/0.004072, allocations: 2.496 MB / 0.9541 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.005355, allocations: 0.7556 MB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.005464, allocations: 4 kB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.00661, allocations: 0.5412 MB / 0.9554 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.006875, allocations: 103.4 kB / 0.9555 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.007156, allocations: 115.6 kB / 0.9556 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.00742, allocations: 203.4 kB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.007763, allocations: 130.2 kB / 0.9559 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.0079, allocations: 111.8 kB / 0.956 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.008154, allocations: 99.72 kB / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.008181, allocations: 12 kB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.008355, allocations: 107.6 kB / 0.9563 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.008446, allocations: 59.81 kB / 0.9563 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.008509, allocations: 43.92 kB / 0.9563 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.00883, allocations: 235.2 kB / 0.9566 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.008835, allocations: 0 / 0.9566 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.008836, allocations: 0 / 0.9566 GB, free: 14 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.008842, allocations: 7.938 kB / 0.9566 GB, free: 13.99 MB / 0.9167 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.000634/0.009476, allocations: 377.8 kB / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.009517, allocations: 8.031 kB / 0.9569 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.00987, allocations: 44.81 kB / 0.957 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.01011, allocations: 161.6 kB / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.01012, allocations: 8.656 kB / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.01015, allocations: 16.38 kB / 0.9572 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.01052, allocations: 263.1 kB / 0.9574 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01053, allocations: 192 / 0.9574 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.01055, allocations: 4.375 kB / 0.9574 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.01059, allocations: 24.2 kB / 0.9574 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.01081, allocations: 144.7 kB / 0.9576 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008798/0.01169, allocations: 0.7742 MB / 0.9583 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.01177, allocations: 38.56 kB / 0.9584 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.0118, allocations: 16.86 kB / 0.9584 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.01181, allocations: 3.938 kB / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01184, allocations: 34.5 kB / 0.9584 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.01184, allocations: 4 kB / 0.9584 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002083/0.01205, allocations: 73.72 kB / 0.9585 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.01208, allocations: 55.41 kB / 0.9586 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.0122, allocations: 155.5 kB / 0.9587 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.01221, allocations: 29.7 kB / 0.9587 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.0123, allocations: 147.5 kB / 0.9589 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.01231, allocations: 15.91 kB / 0.9589 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.01236, allocations: 29.7 kB / 0.9589 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.01245, allocations: 322.8 kB / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.0125, allocations: 28.84 kB / 0.9593 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.01257, allocations: 92 kB / 0.9593 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01271, allocations: 129.3 kB / 0.9595 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01271, allocations: 0 / 0.9595 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001912/0.0129, allocations: 137.4 kB / 0.9596 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.01292, allocations: 4 kB / 0.9596 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01293, allocations: 4 kB / 0.9596 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01295, allocations: 4.234 kB / 0.9596 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.01307, allocations: 31.92 kB / 0.9596 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.01308, allocations: 4 kB / 0.9596 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.01314, allocations: 16.2 kB / 0.9597 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01316, allocations: 11.94 kB / 0.9597 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.531e-05/0.01325, allocations: 128 kB / 0.9598 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001532/0.0134, allocations: 81.44 kB / 0.9599 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001202/0.01352, allocations: 133.2 kB / 0.96 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.01353, allocations: 0 / 0.96 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001766/0.0137, allocations: 129.4 kB / 0.9601 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01372, allocations: 4 kB / 0.9601 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01372, allocations: 4.312 kB / 0.9601 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.01373, allocations: 11.94 kB / 0.9601 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01383, allocations: 27.92 kB / 0.9602 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01384, allocations: 0 / 0.9602 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.0139, allocations: 15.89 kB / 0.9602 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.01391, allocations: 11.98 kB / 0.9602 GB, free: 9.934 MB / 0.9167 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 9.945e-05/0.01401, allocations: 196.1 kB / 0.9604 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.01403, allocations: 7.953 kB / 0.9604 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.01407, allocations: 8.344 kB / 0.9604 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01407, allocations: 4 kB / 0.9604 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01408, allocations: 0 / 0.9604 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01408, allocations: 4 kB / 0.9604 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.01447, allocations: 404.8 kB / 0.9608 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01447, allocations: 0 / 0.9608 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.01451, allocations: 12 kB / 0.9608 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01451, allocations: 0 / 0.9608 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.01452, allocations: 0 / 0.9608 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.01452, allocations: 7.938 kB / 0.9608 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01453, allocations: 0 / 0.9608 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.01464, allocations: 111.7 kB / 0.9609 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.01467, allocations: 11.95 kB / 0.9609 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.01469, allocations: 4 kB / 0.9609 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.01472, allocations: 7.938 kB / 0.9609 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.01475, allocations: 7.984 kB / 0.9609 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.01475, allocations: 0 / 0.9609 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.01482, allocations: 109.5 kB / 0.961 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01482, allocations: 4 kB / 0.9611 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000392/0.01521, allocations: 59.78 kB / 0.9611 GB, free: 8.906 MB / 0.9167 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 0.0001372/0.01535, allocations: 95.25 kB / 0.9612 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.01556, allocations: 107.7 kB / 0.9613 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.01557, allocations: 0 / 0.9613 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.01559, allocations: 25.3 kB / 0.9613 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.01591, allocations: 18.64 kB / 0.9613 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.01648, allocations: 314.3 kB / 0.9616 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.85e-05/0.01658, allocations: 110.2 kB / 0.9618 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.01661, allocations: 16.5 kB / 0.9618 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of SimCode: time 8.52e-07/0.01661, allocations: 3.938 kB / 0.9618 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of Templates: time 0.003039/0.01965, allocations: 1.444 MB / 0.9632 GB, free: 6.727 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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: 6.5511604687199]