Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001392/0.001392, allocations: 109.8 kB / 16.46 MB, free: 6.508 MB / 14.72 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.001551/0.001551, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 9.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.962/2.962, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 69.62 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.7791, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005238/0.7843, allocations: 3.143 MB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.7874, allocations: 1.78 MB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.7876, allocations: 4 kB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.7887, allocations: 334.7 kB / 1.283 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.7892, allocations: 219.1 kB / 1.284 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.7897, allocations: 181 kB / 1.284 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.7902, allocations: 319 kB / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.7906, allocations: 190.6 kB / 1.284 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.7908, allocations: 143.5 kB / 1.284 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.7911, allocations: 171.4 kB / 1.285 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.7912, allocations: 20 kB / 1.285 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.7916, allocations: 251.5 kB / 1.285 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.7917, allocations: 103.7 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.7919, allocations: 127.4 kB / 1.285 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.7924, allocations: 422.5 kB / 1.285 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7924, allocations: 0 / 1.285 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7924, allocations: 0 / 1.285 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.7925, allocations: 4 kB / 1.285 GB, free: 6.02 MB / 0.9825 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.001022/0.7935, allocations: 0.5531 MB / 1.286 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7935, allocations: 8.031 kB / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.456e-05/0.7936, allocations: 62.66 kB / 1.286 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007663/0.7944, allocations: 96.69 kB / 1.286 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.7947, allocations: 260 kB / 1.286 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.7947, allocations: 16.75 kB / 1.286 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.7949, allocations: 32.5 kB / 1.286 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.7955, allocations: 376.9 kB / 1.287 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.7955, allocations: 3.984 kB / 1.287 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.7955, allocations: 4 kB / 1.287 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.7956, allocations: 32.42 kB / 1.287 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.7961, allocations: 309.5 kB / 1.287 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.7981, allocations: 1.522 MB / 1.289 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.7986, allocations: 218.3 kB / 1.289 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.7988, allocations: 104.8 kB / 1.289 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.799, allocations: 89.08 kB / 1.289 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.799, allocations: 46.5 kB / 1.289 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.799, allocations: 0 / 1.289 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.00142/0.8004, allocations: 0.7955 MB / 1.29 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.8005, allocations: 55.41 kB / 1.29 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.8007, allocations: 191.2 kB / 1.29 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.8007, allocations: 33.7 kB / 1.29 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.8009, allocations: 164.2 kB / 1.29 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.8009, allocations: 63.44 kB / 1.29 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.801, allocations: 65.64 kB / 1.29 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.8012, allocations: 326.8 kB / 1.291 GB, free: 244 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.8014, allocations: 115.9 kB / 1.291 GB, free: 128 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.8016, allocations: 165.9 kB / 1.291 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.8021, allocations: 295.5 kB / 1.291 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.8021, allocations: 0 / 1.291 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007921/0.8029, allocations: 421.9 kB / 1.292 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8029, allocations: 4 kB / 1.292 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8029, allocations: 4 kB / 1.292 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.8033, allocations: 96.95 kB / 1.292 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.8036, allocations: 51.89 kB / 1.292 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.8058, allocations: 1.883 MB / 1.294 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.806, allocations: 19.92 kB / 1.294 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.806, allocations: 8 kB / 1.294 GB, free: 13 MB / 0.9981 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 0.0001883/0.8062, allocations: 161.1 kB / 1.294 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.8063, allocations: 19.91 kB / 1.294 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.8068, allocations: 299.2 kB / 1.294 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.8068, allocations: 0 / 1.294 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.8068, allocations: 0 / 1.294 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8068, allocations: 3.938 kB / 1.294 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/0.8078, allocations: 0.7083 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8078, allocations: 0 / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.8081, allocations: 59.95 kB / 1.295 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8081, allocations: 7.875 kB / 1.295 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.8082, allocations: 7.984 kB / 1.295 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8082, allocations: 0 / 1.295 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8082, allocations: 0 / 1.295 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.8088, allocations: 0.5174 MB / 1.295 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.809, allocations: 124.9 kB / 1.296 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.809, allocations: 4 kB / 1.296 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.8092, allocations: 16.05 kB / 1.296 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.8093, allocations: 19.97 kB / 1.296 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.8093, allocations: 4 kB / 1.296 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001548/0.8094, allocations: 148.6 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8094, allocations: 4 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003917/0.8098, allocations: 64 kB / 1.296 GB, free: 10.74 MB / 0.9981 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.001074/0.8109, allocations: 1.059 MB / 1.297 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000807/0.8117, allocations: 414.2 kB / 1.297 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8117, allocations: 0 / 1.297 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.8119, allocations: 112.2 kB / 1.297 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.8123, allocations: 39.7 kB / 1.297 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.8165, allocations: 2.888 MB / 1.3 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.8169, allocations: 0.7792 MB / 1.301 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.8171, allocations: 61.89 kB / 1.301 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.8172, allocations: 70.66 kB / 1.301 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.8172, allocations: 0 / 1.301 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.8522, allocations: 5.117 MB / 1.306 GB, free: 204 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.06, allocations: 17.33 kB / 1.306 GB, free: 196 kB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.I in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.424143044976518]