Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001506/0.001506, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.07/3.07, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_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.002067/0.002067, allocations: 72.17 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005134/0.3168, allocations: 3.093 MB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.3198, allocations: 1.706 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.32, allocations: 7.938 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.3211, allocations: 330.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006192/0.3217, allocations: 219.1 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.3222, allocations: 179.6 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.3228, allocations: 319 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.3232, allocations: 169.5 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.3235, allocations: 151.5 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.3239, allocations: 159.4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.324, allocations: 20 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.3244, allocations: 219.5 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3246, allocations: 111.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.3247, allocations: 99.53 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.3253, allocations: 430.5 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3253, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3253, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3253, allocations: 4 kB / 1.332 GB, free: 11.19 MB / 1.029 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.001031/0.3264, allocations: 481.4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3264, allocations: 8.031 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.587e-05/0.3265, allocations: 62.72 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/0.3273, allocations: 92.69 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.3277, allocations: 207.9 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3277, allocations: 16.81 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3278, allocations: 32.47 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.3285, allocations: 424 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3285, allocations: 0 / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.3285, allocations: 12 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.936e-05/0.3286, allocations: 32.34 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.3292, allocations: 301.5 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.331, allocations: 1.093 MB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.3314, allocations: 206.4 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3316, allocations: 106.8 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3317, allocations: 15.98 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3317, allocations: 30.56 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.3317, allocations: 0 / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001316/0.333, allocations: 0.725 MB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3331, allocations: 51.41 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.3333, allocations: 198.7 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3333, allocations: 33.7 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3334, allocations: 164.1 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.3335, allocations: 71.42 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/0.3336, allocations: 57.62 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3338, allocations: 334.7 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.334, allocations: 115.9 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3342, allocations: 173.9 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.3346, allocations: 292.3 kB / 1.337 GB, free: 5.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3346, allocations: 4 kB / 1.337 GB, free: 5.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007853/0.3354, allocations: 418 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3354, allocations: 8 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3354, allocations: 0 / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.3358, allocations: 100.8 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.3361, allocations: 51.89 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.3382, allocations: 1.752 MB / 1.339 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3384, allocations: 19.95 kB / 1.339 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.3384, allocations: 16.17 kB / 1.339 GB, free: 3.145 MB / 1.029 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.0001647/0.3386, allocations: 155.4 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3386, allocations: 19.91 kB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.3391, allocations: 304.7 kB / 1.34 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3391, allocations: 4 kB / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3391, allocations: 3.984 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3391, allocations: 3.938 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.3401, allocations: 0.6552 MB / 1.341 GB, free: 1.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3401, allocations: 3.984 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.3404, allocations: 59.89 kB / 1.341 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3404, allocations: 7.938 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3405, allocations: 4 kB / 1.341 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3405, allocations: 0 / 1.341 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3405, allocations: 0 / 1.341 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.3411, allocations: 0.5117 MB / 1.341 GB, free: 1.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3412, allocations: 39.81 kB / 1.341 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3413, allocations: 8 kB / 1.341 GB, free: 1.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.3415, allocations: 16.09 kB / 1.341 GB, free: 1.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3415, allocations: 19.92 kB / 1.341 GB, free: 1.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3415, allocations: 7.938 kB / 1.341 GB, free: 1.242 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001553/0.3417, allocations: 148 kB / 1.341 GB, free: 1.094 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3417, allocations: 0 / 1.341 GB, free: 1.094 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003497/0.342, allocations: 64 kB / 1.341 GB, free: 1.031 MB / 1.029 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.001049/0.3431, allocations: 1.063 MB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007279/0.3438, allocations: 408.4 kB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3438, allocations: 0 / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.344, allocations: 111.9 kB / 1.343 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.3443, allocations: 33.64 kB / 1.343 GB, free: 15.38 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.3483, allocations: 2.887 MB / 1.346 GB, free: 12.36 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3485, allocations: 165.2 kB / 1.346 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.3487, allocations: 65.89 kB / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.3488, allocations: 67.41 kB / 1.346 GB, free: 12.05 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3488, allocations: 0 / 1.346 GB, free: 12.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.3856, allocations: 5.709 MB / 1.352 GB, free: 6.516 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 10.42 kB / 1.352 GB, free: 6.508 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.54028279101476]