Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001424/0.001423, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 64.09 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6812, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005309/0.6866, allocations: 4.273 MB / 0.9539 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.6898, allocations: 2.367 MB / 0.9562 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.6901, allocations: 16.38 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009637/0.6911, allocations: 385.8 kB / 0.9566 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.6918, allocations: 375.8 kB / 0.957 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.6924, allocations: 313.3 kB / 0.9573 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.693, allocations: 0.6738 MB / 0.9579 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.6934, allocations: 273.6 kB / 0.9582 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.6937, allocations: 252.5 kB / 0.9584 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.694, allocations: 272.9 kB / 0.9587 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.6941, allocations: 29.31 kB / 0.9587 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006759/0.6947, allocations: 423.9 kB / 0.9591 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.6949, allocations: 144 kB / 0.9593 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.6951, allocations: 239 kB / 0.9595 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.6959, allocations: 0.7134 MB / 0.9602 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.6959, allocations: 9.25 kB / 0.9602 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6959, allocations: 3.938 kB / 0.9602 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.6959, allocations: 0 / 0.9602 GB, free: 1.445 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009411/0.6968, allocations: 0.7868 MB / 0.961 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6969, allocations: 9.156 kB / 0.961 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.697, allocations: 77.67 kB / 0.961 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.6983, allocations: 183.1 kB / 0.9612 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.6987, allocations: 403.5 kB / 0.9616 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.6987, allocations: 30.02 kB / 0.9616 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.6988, allocations: 37.81 kB / 0.9617 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.6996, allocations: 0.6582 MB / 0.9623 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6997, allocations: 1.469 kB / 0.9623 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.6997, allocations: 25.7 kB / 0.9623 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.901e-05/0.6998, allocations: 49 kB / 0.9624 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007343/0.7005, allocations: 0.4909 MB / 0.9629 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.7039, allocations: 3.785 MB / 0.9666 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.7055, allocations: 0.6317 MB / 0.9672 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.7058, allocations: 178.5 kB / 0.9673 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.7059, allocations: 14.84 kB / 0.9674 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.7059, allocations: 32.75 kB / 0.9674 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.7059, allocations: 0 / 0.9674 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002348/0.7082, allocations: 1.279 MB / 0.9686 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.7083, allocations: 110.2 kB / 0.9687 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.7088, allocations: 400.7 kB / 0.9691 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.7088, allocations: 31.42 kB / 0.9692 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.709, allocations: 286.5 kB / 0.9694 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.7091, allocations: 117.3 kB / 0.9695 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.7093, allocations: 102.9 kB / 0.9696 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7094, allocations: 358.9 kB / 0.97 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.7097, allocations: 171.6 kB / 0.9701 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.7101, allocations: 374.3 kB / 0.9705 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.7109, allocations: 0.5935 MB / 0.9711 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.7109, allocations: 2.75 kB / 0.9711 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001196/0.7121, allocations: 0.664 MB / 0.9717 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.7122, allocations: 7.812 kB / 0.9717 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.7122, allocations: 6.562 kB / 0.9717 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.7126, allocations: 108 kB / 0.9718 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.713, allocations: 111.5 kB / 0.972 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.7163, allocations: 4.343 MB / 0.9762 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.7167, allocations: 31.55 kB / 0.9762 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.7167, allocations: 27.7 kB / 0.9763 GB, free: 3.438 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002613/0.717, allocations: 196.6 kB / 0.9764 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.7171, allocations: 47.28 kB / 0.9765 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.718, allocations: 0.5223 MB / 0.977 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.718, allocations: 4.469 kB / 0.977 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.718, allocations: 1.156 kB / 0.977 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.718, allocations: 5.219 kB / 0.977 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.7198, allocations: 1.286 MB / 0.9783 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7198, allocations: 2.719 kB / 0.9783 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.72, allocations: 62.72 kB / 0.9783 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.7203, allocations: 90.38 kB / 0.9784 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.7203, allocations: 8.25 kB / 0.9784 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.7235, allocations: 4.338 MB / 0.9827 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.7235, allocations: 2.469 kB / 0.9827 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.7244, allocations: 0.7794 MB / 0.9834 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.7247, allocations: 156.9 kB / 0.9836 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.7247, allocations: 12.64 kB / 0.9836 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.7251, allocations: 22.42 kB / 0.9836 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.7251, allocations: 42.95 kB / 0.9836 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.7252, allocations: 9.25 kB / 0.9836 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003005/0.7255, allocations: 281.4 kB / 0.9839 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7255, allocations: 0 / 0.9839 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006868/0.7262, allocations: 120.3 kB / 0.984 GB, free: 12.44 MB / 0.7481 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.7273, allocations: 1.339 MB / 0.9853 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.7286, allocations: 0.8195 MB / 0.9861 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7286, allocations: 4 kB / 0.9861 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.7293, allocations: 0.5435 MB / 0.9867 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.7302, allocations: 135.3 kB / 0.9868 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.7356, allocations: 4.594 MB / 0.9913 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.7361, allocations: 0.8663 MB / 0.9921 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002955/0.7364, allocations: 104.5 kB / 0.9922 GB, free: 4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.7366, allocations: 155.4 kB / 0.9924 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7367, allocations: 0 / 0.9924 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.7701, allocations: 9.879 MB / 1.002 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.899/9.669, allocations: 14.56 kB / 1.002 GB, free: 10.13 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches