Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0008481/0.0008481, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005271/0.005271, allocations: 172.7 kB / 16.27 MB, free: 6.66 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.216/1.216, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5796, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005804/0.5854, allocations: 6.303 MB / 0.9613 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003683/0.5891, allocations: 3.012 MB / 0.9643 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.5894, allocations: 22.91 kB / 0.9643 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.5897, allocations: 140.7 kB / 0.9644 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000749/0.5904, allocations: 476.4 kB / 0.9649 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.5912, allocations: 381.1 kB / 0.9652 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.5925, allocations: 1.583 MB / 0.9668 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.594, allocations: 1.018 MB / 0.9678 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.5945, allocations: 387.1 kB / 0.9682 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.5951, allocations: 0.4892 MB / 0.9686 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.5951, allocations: 34.38 kB / 0.9687 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006646/0.5958, allocations: 441.2 kB / 0.9691 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.5961, allocations: 270.4 kB / 0.9693 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.5965, allocations: 431.9 kB / 0.9698 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.5975, allocations: 1.176 MB / 0.9709 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5975, allocations: 1.562 kB / 0.9709 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5975, allocations: 4 kB / 0.9709 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5975, allocations: 0 / 0.9709 GB, free: 12.16 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001454/0.599, allocations: 1.01 MB / 0.9719 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.599, allocations: 8.844 kB / 0.9719 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.5992, allocations: 121.6 kB / 0.972 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.6006, allocations: 238.2 kB / 0.9723 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.6013, allocations: 0.5431 MB / 0.9728 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.6014, allocations: 51.73 kB / 0.9728 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.6015, allocations: 66.59 kB / 0.9729 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.6029, allocations: 1.083 MB / 0.974 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.6029, allocations: 14.06 kB / 0.974 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/0.603, allocations: 30.17 kB / 0.974 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.6032, allocations: 84.16 kB / 0.9741 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.6042, allocations: 0.7495 MB / 0.9748 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.6088, allocations: 5.897 MB / 0.9806 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008973/0.6097, allocations: 0.5709 MB / 0.9811 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.6102, allocations: 335.4 kB / 0.9814 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.6102, allocations: 5.938 kB / 0.9814 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.6102, allocations: 41.66 kB / 0.9815 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.493e-06/0.6102, allocations: 0 / 0.9815 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003506/0.6137, allocations: 1.995 MB / 0.9834 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.6138, allocations: 55.84 kB / 0.9835 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.6143, allocations: 0.5509 MB / 0.984 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.6144, allocations: 33.7 kB / 0.9841 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.6146, allocations: 418.9 kB / 0.9845 GB, free: 500 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6147, allocations: 169.6 kB / 0.9846 GB, free: 328 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.6148, allocations: 57.69 kB / 0.9847 GB, free: 264 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6149, allocations: 378.7 kB / 0.985 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.6153, allocations: 277.8 kB / 0.9853 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.6158, allocations: 497 kB / 0.9858 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.6167, allocations: 0.8016 MB / 0.9866 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6167, allocations: 0 / 0.9866 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001642/0.6184, allocations: 1.087 MB / 0.9876 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6184, allocations: 8.125 kB / 0.9876 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6184, allocations: 12 kB / 0.9876 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007738/0.6192, allocations: 283.2 kB / 0.9879 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.6197, allocations: 127.8 kB / 0.988 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.6251, allocations: 6.603 MB / 0.9945 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.6256, allocations: 39.95 kB / 0.9945 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.6257, allocations: 32 kB / 0.9945 GB, free: 5.387 MB / 0.7481 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0002973/0.626, allocations: 253.5 kB / 0.9948 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.6261, allocations: 75.16 kB / 0.9949 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.6275, allocations: 0.8884 MB / 0.9957 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6276, allocations: 15.94 kB / 0.9957 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6276, allocations: 0 / 0.9957 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6276, allocations: 4 kB / 0.9957 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.63, allocations: 1.728 MB / 0.9974 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6301, allocations: 0 / 0.9974 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.6303, allocations: 55.95 kB / 0.9975 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007508/0.6311, allocations: 271.3 kB / 0.9977 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.6311, allocations: 8 kB / 0.9978 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/0.6366, allocations: 6.599 MB / 1.004 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.6367, allocations: 3.938 kB / 1.004 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.6381, allocations: 0.9796 MB / 1.005 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.6384, allocations: 184.3 kB / 1.005 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.6385, allocations: 15.94 kB / 1.005 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.6389, allocations: 31.95 kB / 1.005 GB, free: 9.555 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.639, allocations: 48.08 kB / 1.005 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.639, allocations: 16 kB / 1.005 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003875/0.6394, allocations: 383.1 kB / 1.006 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6394, allocations: 0 / 1.006 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007759/0.6402, allocations: 224 kB / 1.006 GB, free: 8.902 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/0.6418, allocations: 1.549 MB / 1.008 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.6436, allocations: 1.268 MB / 1.009 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6436, allocations: 4 kB / 1.009 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.6448, allocations: 0.897 MB / 1.01 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6458, allocations: 208.4 kB / 1.01 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007986/0.6538, allocations: 6.814 MB / 1.017 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.6544, allocations: 1.016 MB / 1.017 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000387/0.6548, allocations: 130 kB / 1.018 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.6551, allocations: 251.3 kB / 1.018 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of SimCode: time 7.12e-07/0.6551, allocations: 0 / 1.018 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.478/4.134, allocations: 16.32 MB / 1.034 GB, free: 12.25 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/4.134, allocations: 237.8 kB / 1.034 GB, free: 11.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/6.217, allocations: 0 / 1.034 GB, free: 11.98 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches