Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.00109/0.00109, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009906/0.0009906, allocations: 173 kB / 23.49 MB, free: 1.059 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.9409/0.9409, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.969/1.969, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.594e-05, allocations: 8.844 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004347/0.004363, allocations: 3.191 MB / 0.8813 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.007092, allocations: 1.747 MB / 0.883 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.007265, allocations: 7.938 kB / 0.883 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.008, allocations: 342.6 kB / 0.8833 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.008369, allocations: 218.7 kB / 0.8835 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.008828, allocations: 183.9 kB / 0.8837 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.009144, allocations: 327.5 kB / 0.884 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.009422, allocations: 173 kB / 0.8842 GB, free: 468 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.009633, allocations: 192.4 kB / 0.8844 GB, free: 276 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.00985, allocations: 152.4 kB / 0.8845 GB, free: 124 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.009876, allocations: 20 kB / 0.8845 GB, free: 104 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.01012, allocations: 225 kB / 0.8848 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.364e-05/0.01021, allocations: 115.7 kB / 0.8849 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.01029, allocations: 91.61 kB / 0.885 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.01064, allocations: 327 kB / 0.8853 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.01064, allocations: 4 kB / 0.8853 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.42e-07/0.01064, allocations: 0 / 0.8853 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.01064, allocations: 0 / 0.8853 GB, free: 15.36 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006273/0.01127, allocations: 0.5778 MB / 0.8858 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01131, allocations: 12.03 kB / 0.8859 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005086/0.01182, allocations: 144.4 kB / 0.886 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.01204, allocations: 208.2 kB / 0.8862 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.01206, allocations: 16.88 kB / 0.8862 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.01212, allocations: 20.56 kB / 0.8862 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.01245, allocations: 311.1 kB / 0.8865 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01246, allocations: 4.188 kB / 0.8865 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.01248, allocations: 8.125 kB / 0.8865 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.01254, allocations: 28.48 kB / 0.8866 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.01273, allocations: 122.8 kB / 0.8867 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000979/0.01371, allocations: 1.201 MB / 0.8879 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.01393, allocations: 143 kB / 0.888 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.014, allocations: 47.67 kB / 0.888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.01407, allocations: 11.98 kB / 0.888 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.01409, allocations: 41.39 kB / 0.8881 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.0141, allocations: 0 / 0.8881 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0009268/0.01502, allocations: 454.2 kB / 0.8885 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.01505, allocations: 55.41 kB / 0.8886 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01518, allocations: 243.3 kB / 0.8888 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.0152, allocations: 29.7 kB / 0.8888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.01528, allocations: 215.2 kB / 0.889 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.01531, allocations: 75.38 kB / 0.8891 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.01538, allocations: 63.34 kB / 0.8892 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01548, allocations: 0.4962 MB / 0.8897 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.01555, allocations: 47.97 kB / 0.8897 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.01565, allocations: 117.8 kB / 0.8898 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.01582, allocations: 185.7 kB / 0.89 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01582, allocations: 0 / 0.89 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003819/0.01621, allocations: 277 kB / 0.8903 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01622, allocations: 8 kB / 0.8903 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01623, allocations: 4 kB / 0.8903 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.01658, allocations: 107.6 kB / 0.8904 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01671, allocations: 51.84 kB / 0.8904 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.01774, allocations: 1.928 MB / 0.8923 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.01783, allocations: 15.98 kB / 0.8923 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01785, allocations: 8 kB / 0.8923 GB, free: 7.668 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.01793, allocations: 172.5 kB / 0.8925 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.01796, allocations: 19.84 kB / 0.8925 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.01819, allocations: 187.3 kB / 0.8927 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01819, allocations: 7.984 kB / 0.8927 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.01819, allocations: 0 / 0.8927 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.0182, allocations: 0 / 0.8927 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.01863, allocations: 0.5277 MB / 0.8932 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.01863, allocations: 0 / 0.8932 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.01878, allocations: 63.89 kB / 0.8933 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01878, allocations: 0 / 0.8933 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.0188, allocations: 4 kB / 0.8933 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.0188, allocations: 4.062 kB / 0.8933 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.0188, allocations: 4 kB / 0.8933 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.01907, allocations: 372.9 kB / 0.8936 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.01912, allocations: 35.88 kB / 0.8937 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01914, allocations: 8 kB / 0.8937 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.01922, allocations: 11.98 kB / 0.8937 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.01924, allocations: 15.97 kB / 0.8937 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01925, allocations: 7.938 kB / 0.8937 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.212e-05/0.01933, allocations: 175.1 kB / 0.8939 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01933, allocations: 0 / 0.8939 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002116/0.01954, allocations: 68.03 kB / 0.8939 GB, free: 5.914 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001066/0.01964, allocations: 103.2 kB / 0.894 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.02004, allocations: 365.1 kB / 0.8944 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.02005, allocations: 384 / 0.8944 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.02012, allocations: 81.84 kB / 0.8945 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.02037, allocations: 36.12 kB / 0.8945 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008835/0.02125, allocations: 0.542 MB / 0.895 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.02155, allocations: 104.3 kB / 0.8951 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.219e-05/0.02165, allocations: 49.91 kB / 0.8952 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.02169, allocations: 16.5 kB / 0.8952 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.02169, allocations: 7.938 kB / 0.8952 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of Templates: time 0.004154/0.02585, allocations: 2.812 MB / 0.8979 GB, free: 1.766 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_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: 5.146017267135903]