Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006378/0.006378, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 201.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 75.77 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2728, allocations: 162.3 MB / 1.242 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.5076/0.7804, allocations: 10.9 MB / 1.252 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.7914, allocations: 8.802 MB / 1.261 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.7926, allocations: 58.59 kB / 1.261 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.7963, allocations: 1.674 MB / 1.263 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.8004, allocations: 1.52 MB / 1.264 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.8021, allocations: 0.6721 MB / 1.265 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002783/0.8049, allocations: 2.288 MB / 1.267 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.8065, allocations: 1.383 MB / 1.269 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.8079, allocations: 0.9788 MB / 1.269 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.8093, allocations: 1.029 MB / 1.27 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.8095, allocations: 140.8 kB / 1.271 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.8111, allocations: 0.7924 MB / 1.271 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.8116, allocations: 0.5693 MB / 1.272 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009651/0.8126, allocations: 0.886 MB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.8162, allocations: 2.578 MB / 1.275 GB, free: 14.63 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8162, allocations: 0 / 1.275 GB, free: 14.63 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8162, allocations: 4 kB / 1.275 GB, free: 14.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.326e-05/0.8163, allocations: 0 / 1.275 GB, free: 14.62 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003667/0.8199, allocations: 2.073 MB / 1.277 GB, free: 13.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.82, allocations: 10.77 kB / 1.277 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002472/0.8202, allocations: 190.4 kB / 1.278 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.8319, allocations: 2.055 MB / 1.28 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.8346, allocations: 1.219 MB / 1.281 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.8347, allocations: 85.19 kB / 1.281 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.8349, allocations: 120.4 kB / 1.281 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005735/0.8407, allocations: 2.477 MB / 1.283 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.8407, allocations: 13.81 kB / 1.283 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.8409, allocations: 54.36 kB / 1.283 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003436/0.8412, allocations: 129.8 kB / 1.284 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007401/0.8486, allocations: 2.538 MB / 1.286 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.8625, allocations: 10.04 MB / 1.296 GB, free: 3.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006473/0.869, allocations: 1.947 MB / 1.298 GB, free: 2.789 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/0.8719, allocations: 0.9721 MB / 1.299 GB, free: 2.551 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.872, allocations: 14.88 kB / 1.299 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.872, allocations: 38.34 kB / 1.299 GB, free: 2.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.364e-06/0.872, allocations: 4 kB / 1.299 GB, free: 2.496 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.03156/0.9036, allocations: 8.74 MB / 1.307 GB, free: 460 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.9037, allocations: 60.25 kB / 1.307 GB, free: 396 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.9052, allocations: 1.102 MB / 1.308 GB, free: 15.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.9053, allocations: 41.64 kB / 1.308 GB, free: 15.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/0.9059, allocations: 0.7569 MB / 1.309 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.9062, allocations: 289 kB / 1.309 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004017/0.9066, allocations: 201.2 kB / 1.31 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9067, allocations: 347.2 kB / 1.31 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.9098, allocations: 1.08 MB / 1.311 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.913, allocations: 1.301 MB / 1.312 GB, free: 13.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006258/0.9193, allocations: 2.383 MB / 1.315 GB, free: 12.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.9193, allocations: 2.531 kB / 1.315 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009649/0.929, allocations: 3.277 MB / 1.318 GB, free: 10.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.929, allocations: 8.406 kB / 1.318 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.929, allocations: 13.77 kB / 1.318 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.9319, allocations: 0.7904 MB / 1.319 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.9338, allocations: 417.1 kB / 1.319 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.9503, allocations: 15.94 MB / 1.335 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.9527, allocations: 287.7 kB / 1.335 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.9529, allocations: 54.45 kB / 1.335 GB, free: 11.09 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007774/0.9536, allocations: 404.6 kB / 1.335 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.9539, allocations: 146.4 kB / 1.335 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008718/0.9626, allocations: 3.199 MB / 1.339 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.9627, allocations: 12.69 kB / 1.339 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.9627, allocations: 11.61 kB / 1.339 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.9627, allocations: 3.984 kB / 1.339 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.9739, allocations: 4.91 MB / 1.343 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.974, allocations: 7 kB / 1.343 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.9756, allocations: 348.8 kB / 1.344 GB, free: 5.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.978, allocations: 0.7022 MB / 1.344 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.9781, allocations: 31.78 kB / 1.344 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/0.9938, allocations: 15.54 MB / 1.36 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.9938, allocations: 3.188 kB / 1.36 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00819/1.002, allocations: 3.047 MB / 1.363 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008015/1.003, allocations: 394.6 kB / 1.363 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.003, allocations: 19.44 kB / 1.363 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.005, allocations: 295.2 kB / 1.363 GB, free: 4.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.005, allocations: 79.7 kB / 1.363 GB, free: 4.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.005, allocations: 43.19 kB / 1.363 GB, free: 4.777 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009883/1.006, allocations: 0.7381 MB / 1.364 GB, free: 4.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/1.006, allocations: 0 / 1.364 GB, free: 4.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001374/1.008, allocations: 432.8 kB / 1.365 GB, free: 4.332 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008012/1.016, allocations: 3.626 MB / 1.368 GB, free: 2.008 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008601/1.024, allocations: 3.632 MB / 1.372 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.024, allocations: 3.938 kB / 1.372 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005084/1.029, allocations: 2.375 MB / 1.374 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/1.032, allocations: 0.5234 MB / 1.374 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/1.065, allocations: 15.88 MB / 1.39 GB, free: 11.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.066, allocations: 1.384 MB / 1.391 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00137/1.067, allocations: 379.9 kB / 1.392 GB, free: 9.711 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/1.068, allocations: 0.5969 MB / 1.392 GB, free: 9.113 MB / 1.092 GB Notification: Performance of SimCode: time 8.62e-07/1.068, allocations: 0 / 1.392 GB, free: 9.113 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.695/3.763, allocations: 41.53 MB / 1.433 GB, free: 168 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.83/32.59, allocations: 7.875 kB / 1.433 GB, free: 160 kB / 1.123 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches